|
|
|
@ -2176,8 +2176,8 @@ public class RetailAppServiceImp implements RetailAppService {
|
|
|
|
|
try {
|
|
|
|
|
smsSender.getSender().sendWithParam(nationCode.trim(), phoneNumber, BIND_PHONE_TEMPLID, param, "RoyalPay", "", "");
|
|
|
|
|
} catch (Exception e) {
|
|
|
|
|
// logger.error(e.getMessage(), e);
|
|
|
|
|
// throw new BadRequestException("Phone number is wrong.Please try again.");
|
|
|
|
|
logger.error(e.getMessage(), e);
|
|
|
|
|
throw new BadRequestException("Phone number is wrong.Please try again.");
|
|
|
|
|
}
|
|
|
|
|
stringRedisTemplate.boundValueOps(getUpdateAccountPhoneKey(codeKey)).set(codeKeyValue + "&" + nationCode + "&" + phoneNumber, Long.parseLong(expireMin), TimeUnit.MINUTES);
|
|
|
|
|
}
|
|
|
|
|