refactor🎨 修改工具写法

This commit is contained in:
wenjianzhang committed 2021-05-08 18:28:51 +08:00
1 parent 1c046d9ddd
commit a8c5f19075
4 files changed
+5 -2

No files matched your search

+2 -1
View File
@@ -338,8 +338,9 @@ func (e Gen) ActionsGen(c *gin.Context, tab tools.SysTables) {
}
func (e Gen) GenMenuAndApi(c *gin.Context) {
log := api.GetRequestLogger(c)
e.Context = c
log := e.GetLogger()
table := tools.SysTables{}
timeNow := pkg.GetCurrentTime()
id, err := pkg.StringToInt(c.Param("tableId"))