打印影响延迟优化

This commit is contained in:
hoteas
2022-05-13 09:30:09 +08:00
parent 0f2b47d6d9
commit 20d8926d05
7 changed files with 23 additions and 14 deletions
+2
View File
@@ -43,6 +43,8 @@ var Wechat = Ctr{
//有用户直接返回
if wechat.GetCeilInt("salesman_id") != 0 {
that.Db.Update("salesman", Map{"login_time[#]": "now()"},
Map{"id": wechat.GetCeilInt("salesman_id")})
that.Session("salesman_id", wechat.GetCeilInt("salesman_id"))
that.Display(0, "登录成功")