已经接入配置文件,开始准备生成代码
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user