diff --git a/app/mix/controller/init.go b/app/mix/controller/init.go index dc2a213c..cecc93b3 100644 --- a/app/mix/controller/init.go +++ b/app/mix/controller/init.go @@ -237,8 +237,8 @@ func Init(r *gin.Engine) { extVasPayGroup.POST("wxpay_callback", WxpayCallback) opVasPayGroup := r.Group("/op/vas", PrepareOp()) - opVasPayGroup.POST("create_order", middleware.JSONParamValidator(vasproto.OpCreateOrderReq{}), middleware.JwtAuthenticator(), OpCreateOrder) - opVasPayGroup.POST("coin_order_list", middleware.JSONParamValidator(vasproto.OpCoinOrderListReq{}), middleware.JwtAuthenticator(), OpOrderList) + opVasPayGroup.POST("create_order", middleware.JSONParamValidator(vasproto.OpCreateOrderReq{}), OpCreateOrder) + opVasPayGroup.POST("coin_order_list", middleware.JSONParamValidator(vasproto.OpCoinOrderListReq{}), OpOrderList) // 验证码 opVeriCodeGroup := r.Group("/op/veri_code", PrepareOp())