feat✨ :菜单配置迁移脚本功能

This commit is contained in:
wenjianzhang committed 2021-03-17 19:15:49 +08:00
1 parent 9c73558382
commit 0c802ad366
3 files changed
+379 -2

No files matched your search

+3 -1
View File
@@ -65,6 +65,8 @@ func sysNoCheckRoleRouter(r *gin.RouterGroup) {
gen := &tools.Gen{}
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)
@@ -212,4 +214,4 @@ func registerPublicRouter(v1 *gin.RouterGroup) {
file := &public.File{}
p.POST("/uploadFile", file.UploadFile)
}
}
}