优化API命名

This commit is contained in:
刘祥超
2021-05-25 17:49:05 +08:00
parent 416b3c2056
commit b5f759dd6b
15 changed files with 329 additions and 315 deletions

View File

@@ -36,6 +36,6 @@ message Node {
NodeLogin login = 33;
NodeInstallStatus installStatus = 34;
repeated NodeIPAddress ipAddresses = 35;
NodeGroup group = 36;
NodeRegion region = 37;
NodeGroup nodeGroup = 36;
NodeRegion nodeRegion = 37;
}

View File

@@ -7,7 +7,7 @@ message NodeCluster {
int64 id = 1;
string name = 2;
int64 createdAt = 3;
int64 grantId = 4;
int64 nodeGrantId = 4;
string installDir = 5;
string uniqueId = 6;
string secret = 7;

View File

@@ -17,6 +17,6 @@ message NSNode {
//NodeLogin login = 33;
//NodeInstallStatus installStatus = 34;
//repeated NodeIPAddress ipAddresses = 35;
//NodeGroup group = 36;
//NodeGroup nodeGroup = 36;
//NodeRegion region = 37;
}

View File

@@ -36,7 +36,7 @@ message Server {
bytes reverseProxyJSON = 16;
NodeCluster nodeCluster = 30;
repeated ServerGroup groups = 31;
repeated ServerGroup serverGroups = 31;
User user = 32;
}