Create & Init Project...
This commit is contained in:
25
app/service/openplatform/ticket-sales/api/grpc/v1/pay.proto
Normal file
25
app/service/openplatform/ticket-sales/api/grpc/v1/pay.proto
Normal file
@ -0,0 +1,25 @@
|
||||
// 支付相关接口
|
||||
|
||||
syntax = "proto3";
|
||||
package ticket.service.sales.v1;
|
||||
|
||||
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
|
||||
|
||||
option go_package = "v1";
|
||||
option (gogoproto.goproto_getters_all) = false;
|
||||
option (gogoproto.goproto_stringer_all) = false;
|
||||
option (gogoproto.stringer_all) = true;
|
||||
|
||||
service Pay {
|
||||
rpc PayNotify (PayNotifyRequest) returns (PayNotifyResponse);
|
||||
}
|
||||
|
||||
message PayNotifyRequest {
|
||||
string msgID = 1 [(gogoproto.customname) = "MsgID"];
|
||||
string msgContent = 2;
|
||||
bool testMode = 3;
|
||||
}
|
||||
|
||||
message PayNotifyResponse {
|
||||
|
||||
}
|
Reference in New Issue
Block a user