已经接入配置文件,开始准备生成代码

This commit is contained in:
2021-06-04 03:03:48 +08:00
parent fe085ce889
commit d6c11a5d93
4 changed files with 317 additions and 49 deletions
+2
View File
@@ -3,11 +3,13 @@ package admin
import (
. "../../../hotime"
. "../../../hotime/common"
"fmt"
)
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) {