|
@@ -304,7 +304,7 @@ func (o *OneClickInfo) bindPhone(phone string, isAccountMerge bool) (string, err
|
|
|
if unionId == "" {
|
|
|
return token, errors.New("账号异常")
|
|
|
}
|
|
|
- exists, relationPhoneId := jy.NewPhoneUtil(db.Mgo).BindPhoneIsOccupy(mgoUserId, unionId, phone)
|
|
|
+ exists, relationPhoneId, _ := jy.NewPhoneUtil(db.Mgo).BindPhoneIsOccupy(mgoUserId, unionId, phone)
|
|
|
if exists { //校验是否使用
|
|
|
return token, errors.New(PhoneHasBind)
|
|
|
}
|