wangchuanjin 7 сар өмнө
parent
commit
9ac6dc0424

+ 1 - 1
src/jfw/modules/publicapply/src/oneclick/entity/entity.go

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