by Robin at 20241216

This commit is contained in:
Robin 2024-12-16 17:46:29 +08:00
parent f73b7711da
commit 05dde6d4f2
1 changed files with 4 additions and 4 deletions

View File

@ -365,10 +365,10 @@ func Init(r *gin.Engine) {
outerVasGroup.POST("create_order", middleware.JSONParamValidator(vasproto.CreateOrderReq{}), CreateOrderOuter)
extVasPayGroup := r.Group("/ext/vas")
extVasPayGroup.POST("alipay_callback", AlipayCallback)
extVasPayGroup.POST("wxpay_callback", WxpayCallback)
extVasPayGroup.POST("applepay_callback", ApplepayCallback)
extVasPayGroup.POST("yeepay_callback", YeepayCallback)
extVasPayGroup.POST("alipay_callback", AlipayCallback, middleware.NotifSender())
extVasPayGroup.POST("wxpay_callback", WxpayCallback, middleware.NotifSender())
extVasPayGroup.POST("applepay_callback", ApplepayCallback, middleware.NotifSender())
extVasPayGroup.POST("yeepay_callback", YeepayCallback, middleware.NotifSender())
opVasPayGroup := r.Group("/op/vas", PrepareOp())
opVasPayGroup.POST("create_order", middleware.JSONParamValidator(vasproto.OpCreateOrderReq{}), OpCreateOrder)