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 pay;
|
|
|
|
// 配置信息请求结构
|
|
message PayRequest {
|
|
string data = 1;
|
|
string time = 2;
|
|
string sign = 3;
|
|
}
|
|
|
|
// 配置信息响应结构
|
|
message PayResponse {
|
|
string data = 1;
|
|
string time = 2;
|
|
string sign = 3;
|
|
}
|
|
|
|
|
|
// rpc方法
|
|
service PayService {
|
|
rpc payToBusiness (PayRequest) returns (PayResponse); // 用户各商家支付
|
|
rpc payToUser (PayRequest) returns (PayResponse); // 商家向用户支付(退款)
|
|
}
|