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