xingzai hai 1 ano
pai
achega
e10885e303
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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 = "获取信息失败"