update: set orm log

This commit is contained in:
zhangwenjian committed 2020-08-29 17:52:59 +08:00
1 parent c210d2301c
commit 55496078f0
5 files changed
+36 -38

No files matched your search

+2 -2
View File
@@ -289,7 +289,7 @@ func GenMenuAndApi(c *gin.Context) {
AList.MenuName = ""
AList.Title = "分页获取" + tab.TableComment
AList.Icon = "bug"
AList.Path = "/api/v1/" + tab.ModuleName + "List"
AList.Path = "/api/v1/" + tab.ModuleName
AList.MenuType = "A"
AList.Action = "GET"
AList.ParentId = Amenu.MenuId
@@ -343,7 +343,7 @@ func GenMenuAndApi(c *gin.Context) {
AUpdate.MenuName = ""
AUpdate.Title = "修改" + tab.TableComment
AUpdate.Icon = "bug"
AUpdate.Path = "/api/v1/" + tab.ModuleName
AUpdate.Path = "/api/v1/" + tab.ModuleName + "/:id"
AUpdate.MenuType = "A"
AUpdate.Action = "PUT"
AUpdate.ParentId = Amenu.MenuId