修复swagger无法生成文档

This commit is contained in:
linwenxiang
2021-03-24 18:52:59 +08:00
parent 6fb7da87a3
commit 12893fc09d
31 changed files with 2032 additions and 2442 deletions
+2 -2
View File
@@ -66,7 +66,7 @@ func sysNoCheckRoleRouter(r *gin.RouterGroup) {
v1.GET("/gen/preview/:tableId", gen.Preview)
v1.GET("/gen/toproject/:tableId", gen.GenCodeV3)
v1.GET("/gen/apitofile/:tableId", gen.GenApiToFile)
v1.GET("/gen/todb/:tableId", gen.GenMenuAndApi)
sysTable := &tools.SysTable{}
v1.GET("/gen/tabletree", sysTable.GetSysTablesTree)
@@ -214,4 +214,4 @@ func registerPublicRouter(v1 *gin.RouterGroup) {
file := &public.File{}
p.POST("/uploadFile", file.UploadFile)
}
}
}