生成代码,逐步进行优化

This commit is contained in:
2021-06-04 10:05:07 +08:00
parent a003612810
commit 6aa2b74840
3 changed files with 5 additions and 6 deletions
+1 -3
View File
@@ -3,13 +3,11 @@ package admin
import (
. "../../../hotime"
. "../../../hotime/common"
"fmt"
)
var UserCtr = Ctr{
var userCtr = Ctr{
"info": func(that *Context) {
re := that.Db.Get(that.RouterString[1], that.MakeCode.Info(that.RouterString[1]), Map{"id": that.RouterString[2]})
fmt.Println(that.Db.LastQuery)
that.Display(0, re)
},
"add": func(that *Context) {