feat: add support
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package support;
|
||||
option go_package = "lone-services/rpc/support";
|
||||
import "google/api/annotations.proto";
|
||||
|
||||
service Support {
|
||||
rpc Call(CallReq) returns (Response) {
|
||||
option (google.api.http) = {
|
||||
post: "/api/v3/support/call"
|
||||
body: "*"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
message Response {
|
||||
int32 code = 1;
|
||||
string msg = 2;
|
||||
string data = 3;
|
||||
}
|
||||
|
||||
message CallReq {
|
||||
string action = 1;
|
||||
string version = 2;
|
||||
string request = 3;
|
||||
// 与旧云呼一致:前端传入的 AccessKey
|
||||
string a = 4;
|
||||
string s = 5;
|
||||
}
|
||||
Reference in New Issue
Block a user