30 lines
529 B
Protocol Buffer
30 lines
529 B
Protocol Buffer
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;
|
|
}
|