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.
|
syntax = "proto3";
|
|
package supplierrpc;
|
|
|
|
// 配置信息请求结构
|
|
message Request {
|
|
string data = 1;
|
|
string time = 2;
|
|
string sign = 3;
|
|
}
|
|
|
|
// 配置信息响应结构
|
|
message Response {
|
|
string data = 1;
|
|
string time = 2;
|
|
string sign = 3;
|
|
}
|
|
|
|
// rpc方法
|
|
service SupplierService {
|
|
rpc Get (Request) returns (Response); // 使用id查询
|
|
rpc GetByUuid (Request) returns (Response); // 使用uuid查询
|
|
rpc IsOpen (Request) returns (Response); // 是否营业中
|
|
rpc Get380Star (Request) returns (Response); // 查询380star供应商数据
|
|
}
|