Merge pull request 'feat-IRONFANS-32-20240125-Robin' (#80) from feat-IRONFANS-32-20240125-Robin into test

Reviewed-on: #80
This commit is contained in:
chenhao 2024-01-25 09:53:37 +08:00
commit 9161d982a2
1 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@ func Init(r *gin.Engine) {
// 支付相关
vasPayGroup := r.Group("/api/vas", PrepareToC())
vasPayGroup.POST("get_coins_product_list", middleware.JSONParamValidator(vasproto.GetCoinsProductListReq{}), middleware.JwtAuthenticator(), GetCoinsProductList)
vasPayGroup.POST("get_coins_product_list", middleware.JSONParamValidator(vasproto.GetCoinsProductListReq{}), GetCoinsProductList)
vasPayGroup.POST("create_order", middleware.JSONParamValidator(vasproto.CreateOrderReq{}), middleware.JwtAuthenticator(), CreateOrder)
vasPayGroup.POST("one_step_unlock", middleware.JSONParamValidator(vasproto.OneStepUnlockContactReq{}), middleware.JwtAuthenticator(), OneStepUnlock)
vasPayGroup.POST("consumer_fill_contact", middleware.JSONParamValidator(vasproto.ConsumerFillContactReq{}), middleware.JwtAuthenticator(), ConsumerFillContact)
@ -217,7 +217,7 @@ func Init(r *gin.Engine) {
opProductGroup.POST("list", middleware.JSONParamValidator(productproto.OpListReq{}), middleware.JwtAuthenticator(), OpGetProductList)
extVasPayGroup := r.Group("/ext/vas")
extVasPayGroup.POST("alipay_callback", middleware.JwtAuthenticator(), AlipayCallback)
extVasPayGroup.POST("alipay_callback", AlipayCallback)
opVasPayGroup := r.Group("/op/vas", PrepareOp())
opVasPayGroup.POST("create_order", middleware.JSONParamValidator(vasproto.OpCreateOrderReq{}), middleware.JwtAuthenticator(), OpCreateOrder)