27 lines
536 B
Protocol Buffer
27 lines
536 B
Protocol Buffer
syntax = "proto3";
|
|
option go_package = ".;pb";
|
|
|
|
message SysFuncListReq {
|
|
repeated string keys = 1; //功能ID
|
|
}
|
|
|
|
message SysFuncListResp {
|
|
repeated string funcIds = 1; //功能ID
|
|
}
|
|
|
|
message SysFuncGetListReq {
|
|
repeated string keys = 1; //功能ID
|
|
}
|
|
|
|
message SysFuncGetListResp {
|
|
map<string,int32> cond = 1; // 功能开启条件 key opencond配置id value:0 自动激活 1 已经激活
|
|
}
|
|
// 手动激活
|
|
message SysFuncActivateReq {
|
|
string cid = 1; // opencond表的key
|
|
}
|
|
|
|
message SysFuncActivateResp {
|
|
string cid = 1;
|
|
}
|