diff --git a/server/router/sys_auto_code.go b/server/router/sys_auto_code.go index 2cbdd99e799a08ba3d5f27b5ddcaf5a8a4fd956f..762a1b9d58938bcdd9ba3240fae0e3c5d13f2e2c 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) // 获取对应数据库的表