换成单集群模式
This commit is contained in:
@@ -8,8 +8,7 @@ message HTTPDNSApp {
|
||||
string name = 2;
|
||||
string appId = 3;
|
||||
bool isOn = 4;
|
||||
int64 primaryClusterId = 5;
|
||||
int64 backupClusterId = 6;
|
||||
reserved 5, 6; // removed: primaryClusterId, backupClusterId
|
||||
string sniMode = 7;
|
||||
bool signEnabled = 8;
|
||||
string signSecret = 9;
|
||||
@@ -17,4 +16,5 @@ message HTTPDNSApp {
|
||||
int64 createdAt = 11;
|
||||
int64 updatedAt = 12;
|
||||
int64 userId = 13;
|
||||
bytes clusterIdsJSON = 14;
|
||||
}
|
||||
|
||||
@@ -3,6 +3,8 @@ option go_package = "./pb";
|
||||
|
||||
package pb;
|
||||
|
||||
import "models/model_node_login.proto";
|
||||
|
||||
message HTTPDNSNode {
|
||||
int64 id = 1;
|
||||
int64 clusterId = 2;
|
||||
@@ -18,4 +20,5 @@ message HTTPDNSNode {
|
||||
bytes installStatusJSON = 12;
|
||||
int64 createdAt = 13;
|
||||
int64 updatedAt = 14;
|
||||
NodeLogin nodeLogin = 15;
|
||||
}
|
||||
|
||||
@@ -28,6 +28,7 @@ message User {
|
||||
bool isEnterpriseIdentified = 18; // 是否已通过企业验证
|
||||
string bandwidthAlgo = 21; // 带宽算法
|
||||
string lang = 22; // 语言代号
|
||||
bytes httpdnsClusterIdsJSON = 24; // HTTPDNS关联集群ID列表
|
||||
|
||||
Login otpLogin = 19; // OTP认证
|
||||
|
||||
|
||||
Reference in New Issue
Block a user