fix: wecom types agent
CI / changes (push) Successful in 12s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 3s
CI / chore (push) Successful in 0s
CI / express (push) Successful in 0s
CI / product (push) Successful in 1s
CI / sale (push) Successful in 0s
CI / user (push) Successful in 0s
CI / wecom (push) Successful in 31s
CI / changes (push) Successful in 12s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 3s
CI / chore (push) Successful in 0s
CI / express (push) Successful in 0s
CI / product (push) Successful in 1s
CI / sale (push) Successful in 0s
CI / user (push) Successful in 0s
CI / wecom (push) Successful in 31s
This commit is contained in:
+18
-2
@@ -35,6 +35,20 @@ service Wecom {
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc ItemsAgents(EmptyReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
get: "/admin/v3/wecom/agent"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
|
||||
rpc Types(EmptyReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
get: "/admin/v3/wecom/types"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
message Response {
|
||||
@@ -43,12 +57,14 @@ message Response {
|
||||
string data = 3;
|
||||
}
|
||||
|
||||
message EmptyReq {}
|
||||
|
||||
message ItemsUserReq {
|
||||
uint32 page = 1;
|
||||
uint32 page_size = 2;
|
||||
string name = 3;
|
||||
uint32 type = 4; // 1: 管理员,2: 销售
|
||||
uint32 status = 5; // 1: 启用,2: 禁用
|
||||
uint32 type = 4;
|
||||
uint32 status = 5;
|
||||
}
|
||||
|
||||
message CreateUserReq {
|
||||
|
||||
Reference in New Issue
Block a user