This commit is contained in:
Mrx
2026-06-07 14:47:50 +08:00
parent 0dada87a54
commit 079b5b39ef
7 changed files with 145 additions and 0 deletions

View File

@@ -976,6 +976,11 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
Path: "/pay/payment",
Handler: pay.PaymentHandler(serverCtx),
},
{
Method: http.MethodPost,
Path: "/pay/xpay/client-event",
Handler: pay.XpayClientEventHandler(serverCtx),
},
}...,
),
rest.WithJwt(serverCtx.Config.JwtAuth.AccessSecret),