基础整理

This commit is contained in:
hoteas
2022-05-03 09:41:18 +08:00
parent 0b09a13c17
commit 58da542533
7 changed files with 430 additions and 8 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ var Sms = Ctr{
that.Display(2, "没有授权")
return
}
if that.Session("wechat_id").Data == nil && that.Session("salesman_id").Data == nil {
if that.Session("wechat_id").Data == nil && that.Session("user_id").Data == nil {
that.Display(2, "没有登录不可发送短信")
return
}