浏览代码

no message

xingzai 1 年之前
父节点
当前提交
e10885e303
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      controllers/cygx/user.go

+ 3 - 0
controllers/cygx/user.go

@@ -730,6 +730,9 @@ func (this *UserController) TableDetail() {
 			endDate += " 23:59:59"
 			condition += ` AND r.create_time <= '` + endDate + `' `
 		}
+		if wxUser.Mobile == "" {
+			wxUser.Mobile = wxUser.Email
+		}
 		total, err = cygx.GetCygxArticleHistoryCount(wxUser.Mobile, wxUser.Email, condition)
 		if err != nil {
 			br.Msg = "获取信息失败"