基础整理
This commit is contained in:
@@ -6,6 +6,11 @@ import (
|
||||
)
|
||||
|
||||
var Salesman = Ctr{
|
||||
"test": func(that *Context) {
|
||||
that.Session("salesman_id", 1)
|
||||
that.Session("wechat_id", 1)
|
||||
that.Display(0, 1)
|
||||
},
|
||||
"info": func(that *Context) {
|
||||
if that.Session("salesman_id").Data != nil {
|
||||
that.Display(2, "没有登录")
|
||||
|
||||
Reference in New Issue
Block a user