政企超链接开始集成
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package app
|
||||
|
||||
import (
|
||||
. "../../../hotime"
|
||||
. "../../../hotime/common"
|
||||
//"strings"
|
||||
)
|
||||
|
||||
var Category = Ctr{
|
||||
|
||||
//获取列表
|
||||
"list": func(this *Context) {
|
||||
|
||||
re := this.Db.Select("category", "*", Map{"parent_id": 1})
|
||||
|
||||
this.Display(0, re)
|
||||
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user