Compare commits
2 Commits
8a1181469e
...
a6428df723
Author | SHA1 | Date |
---|---|---|
|
a6428df723 | |
|
05dde6d4f2 |
|
@ -391,10 +391,10 @@ func Init(r *gin.Engine) {
|
||||||
outerVasGroup.POST("create_order", middleware.JSONParamValidator(vasproto.CreateOrderReq{}), CreateOrderOuter)
|
outerVasGroup.POST("create_order", middleware.JSONParamValidator(vasproto.CreateOrderReq{}), CreateOrderOuter)
|
||||||
|
|
||||||
extVasPayGroup := r.Group("/ext/vas")
|
extVasPayGroup := r.Group("/ext/vas")
|
||||||
extVasPayGroup.POST("alipay_callback", AlipayCallback)
|
extVasPayGroup.POST("alipay_callback", AlipayCallback, middleware.NotifSender())
|
||||||
extVasPayGroup.POST("wxpay_callback", WxpayCallback)
|
extVasPayGroup.POST("wxpay_callback", WxpayCallback, middleware.NotifSender())
|
||||||
extVasPayGroup.POST("yeepay_callback", YeepayCallback)
|
extVasPayGroup.POST("applepay_callback", ApplepayCallback, middleware.NotifSender())
|
||||||
extVasPayGroup.POST("applepay_callback", ApplepayCallback)
|
extVasPayGroup.POST("yeepay_callback", YeepayCallback, middleware.NotifSender())
|
||||||
|
|
||||||
opVasPayGroup := r.Group("/op/vas", PrepareOp())
|
opVasPayGroup := r.Group("/op/vas", PrepareOp())
|
||||||
opVasPayGroup.POST("create_order", middleware.JSONParamValidator(vasproto.OpCreateOrderReq{}), OpCreateOrder)
|
opVasPayGroup.POST("create_order", middleware.JSONParamValidator(vasproto.OpCreateOrderReq{}), OpCreateOrder)
|
||||||
|
|
Loading…
Reference in New Issue