|
|
@@ -42,6 +42,12 @@ enum BoolInt {
|
|
|
BoolIntFalse = 2;
|
|
|
}
|
|
|
|
|
|
+enum UserType {
|
|
|
+ UserTypeUnknown = 0;
|
|
|
+ UserTypeDevice = 1;
|
|
|
+ UserTypeAccount= 2;
|
|
|
+}
|
|
|
+
|
|
|
message Empty {}
|
|
|
|
|
|
message Int64SelectController {
|
|
|
@@ -1982,6 +1988,29 @@ service GoSysClient {
|
|
|
|
|
|
|
|
|
|
|
|
+//白名单表
|
|
|
+message UserWhite{
|
|
|
+ int64 id = 1; // 主键ID
|
|
|
+ int64 userId = 2; // 用户
|
|
|
+ UserType userType = 3; //用户类型 1 设备 2 账号
|
|
|
+ Status status = 4; // 状态
|
|
|
+ int64 createTime = 5; // 创建时间
|
|
|
+ int64 updateTime = 6; // 更新时间
|
|
|
+}
|
|
|
+
|
|
|
+//测试用户表
|
|
|
+message UserTest{
|
|
|
+ int64 id = 1; // 主键ID
|
|
|
+ int64 userId = 2; // 用户
|
|
|
+ UserType userType = 3; //用户类型 1 设备 2 账号
|
|
|
+ string area = 4; // 指定地区
|
|
|
+ repeated string apis = 5; // 指定接口
|
|
|
+ repeated string routers = 6; // 指定路由
|
|
|
+ Status status = 7; // 状态
|
|
|
+ int64 createTime = 8; // 创建时间
|
|
|
+ int64 updateTime = 9; // 更新时间
|
|
|
+}
|
|
|
+
|
|
|
// Account
|
|
|
message AccountVo {
|
|
|
int64 id = 1; // 主键ID
|