|
|
|
@ -2169,7 +2169,7 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
|
if (!StringUtils.equals(captcha, params.getString("captcha"))) {
|
|
|
|
|
throw new BadRequestException("Verification code is wrong");
|
|
|
|
|
}
|
|
|
|
|
JSONObject account = clientAccountMapper.findByPhone(contact_phone, "+" + nation_code);
|
|
|
|
|
JSONObject account = clientAccountMapper.findByPhone(contactPhone, "+" + nationCode);
|
|
|
|
|
if (account != null) {
|
|
|
|
|
throw new BadRequestException("Mobile phone number has been bound to other users, please unbind it before binding");
|
|
|
|
|
}
|
|
|
|
|