WH01243 8 сар өмнө
parent
commit
a307b40823

+ 1 - 1
common/src/qfw/util/jy/userPhoneUtil.go

@@ -193,7 +193,7 @@ func (this *PhoneUtil) BindPhoneIsOccupy(userId, unionId, phone string) (exists
 	relationUser, _ := this.UserMgoDB.Find("user", map[string]interface{}{
 		"i_appid": 2,
 		"s_phone": phone,
-	}, nil, `{"s_unionid":1}`, false, -1, -1)
+	}, nil, `{"s_unionid":1,"base_user_id":1,}`, false, -1, -1)
 	//不存在手机号用户
 	if relationUser == nil || len(*relationUser) == 0 {
 		return false, "", baseUserId