123456789101112131415161718 |
- syntax = "v1"
- type (
- resp {
- Error_code int64 `json:"error_code"` //响应代码
- Error_msg string `json:"error_msg"` //响应消息
- Data interface{} `json:"data"`
- }
- )
- service PayCenter-api {
- @handler GetPayCode
- post /payCenter/pay/GetPayCode (GetPayCodeReq) returns (resp)
- @handler AliPayCallback
- post /payCenter/pay/AliPayCallback (AliPayCallbackReq) returns (resp)
- @handler WxPayCallback
- post /payCenter/pay/WxPayCallback (WxPayCallbackReq) returns (resp)
- }
|