|
@@ -82,7 +82,7 @@ public class SmsCodeServiceImpl implements SmsCodeService {
|
|
|
String configValue = sysConfigService.findConfigValue(SysConfigConstant.SMS_SEND_VERIFY);
|
|
|
if((StringUtils.isNotEmpty(configValue) && "1".equals(configValue)) || StringUtils.isNotBlank(code)) {
|
|
|
if (StringUtils.isEmpty(mobile) || StringUtils.isEmpty(code)) {
|
|
|
- throw new BizException("图形验证码错误");
|
|
|
+ throw new BizException("你所使用的不是最新版本,请更新后使用");
|
|
|
}
|
|
|
String redisKey = MessageTypeEnum.KAPTCHA_SESSION_KEY + mobile;
|
|
|
if (redisTemplate.hasKey(redisKey)) {
|