wcj 5 년 전
부모
커밋
d511d017c3
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 			}