Browse Source

新增字段

WH01243 8 tháng trước cách đây
mục cha
commit
a307b40823
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      common/src/qfw/util/jy/userPhoneUtil.go

+ 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