调整
This commit is contained in:
@@ -10,21 +10,11 @@ info (
|
||||
import "basic.api"
|
||||
|
||||
service pay {
|
||||
|
||||
@handler OrderRefundHandler
|
||||
post /api/pay/refund(OrderRefundReq) returns (response);
|
||||
|
||||
@handler StripeWebhookHandler
|
||||
post /api/pay/stripe-webhook(StripeWebhookReq) returns (response);
|
||||
|
||||
}
|
||||
|
||||
// 退款
|
||||
type (
|
||||
OrderRefundReq struct{}
|
||||
OrderRefundRes struct{}
|
||||
)
|
||||
|
||||
// StripeWebhook支付通知
|
||||
type (
|
||||
StripeWebhookReq {
|
||||
|
||||
Reference in New Issue
Block a user