|
@@ -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
|