From c40884d6a29c1d39bea6614e5e4e0434e3c35b5c Mon Sep 17 00:00:00 2001 From: pixel <303176530@qq.com> Date: Mon, 2 Nov 2020 11:19:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=8A=A8=E5=8C=96=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E4=B8=8D=E5=86=8D=E8=AE=B0=E5=BD=95=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/router/sys_auto_code.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/server/router/sys_auto_code.go b/server/router/sys_auto_code.go index a10ee877..945bd787 100644 --- a/server/router/sys_auto_code.go +++ b/server/router/sys_auto_code.go @@ -9,8 +9,7 @@ import ( func InitAutoCodeRouter(Router *gin.RouterGroup) { AutoCodeRouter := Router.Group("autoCode"). Use(middleware.JWTAuth()). - Use(middleware.CasbinHandler()). - Use(middleware.OperationRecord()) + Use(middleware.CasbinHandler()) { AutoCodeRouter.POST("createTemp", v1.CreateTemp) // 创建自动化代码 AutoCodeRouter.GET("getTables", v1.GetTables) // 获取对应数据库的表