You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
317 B
18 lines
317 B
2 years ago
|
syntax = "proto3";
|
||
|
option go_package = "./admin_cms;admin_cms";
|
||
|
package admin_cms;
|
||
|
|
||
|
message AdminLoginReq {
|
||
|
string OperationID = 1;
|
||
|
string AdminID = 2;
|
||
|
string Secret = 3;
|
||
|
}
|
||
|
|
||
|
|
||
|
message AdminLoginResp {
|
||
|
string token = 1;
|
||
|
}
|
||
|
|
||
|
service adminCMS {
|
||
|
rpc AdminLogin(AdminLoginReq) returns(AdminLoginResp);
|
||
|
}
|