From 7c96d1033b33dfb63adc5818d38b9515c724b7f5 Mon Sep 17 00:00:00 2001 From: kanade Date: Wed, 22 Jun 2022 15:16:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E9=AA=8C=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/v2/router/wxapp.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/internal/v2/router/wxapp.go b/internal/v2/router/wxapp.go index a57067e..f717e57 100644 --- a/internal/v2/router/wxapp.go +++ b/internal/v2/router/wxapp.go @@ -3,14 +3,11 @@ package router import ( "github.com/gin-gonic/gin" "recook/internal/v2/controller/wxapp/copartner" - "recook/internal/v2/router/middleware" ) // @Style recook总后台 func routerWxapp(wxappRouter *gin.RouterGroup) { - authorize := middleware.AppAuthorize() - - copartnerRouter := wxappRouter.Group("copartner", authorize) + copartnerRouter := wxappRouter.Group("copartner") { copartnerController := copartner.Copartner{} {