This commit is contained in:
momo
2023-11-16 16:35:22 +08:00
parent 2aae36dfca
commit b045d44d14
7 changed files with 15 additions and 113 deletions

View File

@@ -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 {