供应商rpc结构及公共方法
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.

16 lines
351 B

syntax = "proto3";
package supplierrpc;
message Params {
string data = 1;
string time = 2;
string sign = 3;
}
// rpc方法
service SupplierService {
rpc Get (Params) returns (Params); // 使用id查询
rpc GetByUuid (Params) returns (Params); // 使用uuid查询
rpc IsOpen (Params) returns (Params); // 是否营业中
}