From 614c93f96280a1d1eb968cf09c09db372a5df466 Mon Sep 17 00:00:00 2001 From: lwl0608 Date: Thu, 7 Mar 2024 19:40:15 +0800 Subject: [PATCH] cancel token --- app/mix/controller/init.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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())