This commit is contained in:
Mrx
2026-06-06 11:52:06 +08:00
parent a79c464329
commit a85436950e
16 changed files with 864 additions and 25 deletions

View File

@@ -937,6 +937,21 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
Path: "/pay/wechat/refund_callback",
Handler: pay.WechatPayRefundCallbackHandler(serverCtx),
},
{
Method: http.MethodGet,
Path: "/pay/xpay/push",
Handler: pay.XpayPushHandler(serverCtx),
},
{
Method: http.MethodPost,
Path: "/pay/xpay/push",
Handler: pay.XpayPushHandler(serverCtx),
},
{
Method: http.MethodPost,
Path: "/pay/xpay/admin/deliver",
Handler: pay.XpayAdminDeliverHandler(serverCtx),
},
},
rest.WithPrefix("/api/v1"),
)