wcj 5 years ago
parent
commit
d511d017c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/jfw/modules/app/src/app/front/me.go

+ 1 - 1
src/jfw/modules/app/src/app/front/me.go

@@ -352,7 +352,7 @@ func (l *Me) MyInfo() {
 			r["entFirst"] = qutil.IntAll((*user)["i_entniche_first"]) == 0
 			phone, _ := (*user)["s_phone"].(string)
 			if public.Mysql.CountBySql(`SELECT count(DISTINCT a.id) as count from entniche_info a 
-			INNER JOIN entniche_user b on (a.id=b.ent_id) 
+			LEFT JOIN entniche_user b on (a.id=b.ent_id) 
 			where a.phone=? or b.phone=?`, phone, phone) > 0 {
 				r["hasEnt"] = true
 			}