基础整理

This commit is contained in:
hoteas
2022-05-03 09:41:18 +08:00
parent 76b220aa5d
commit b709b58fef
7 changed files with 430 additions and 8 deletions
+5
View File
@@ -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, "没有登录")