|
@@ -124,7 +124,7 @@ public class CnbgMobileServiceImpl implements MobileService {
|
|
|
|
|
|
if (codeObj != null) {
|
|
if (codeObj != null) {
|
|
log.info("手机号验证码未过期:{},{}", mobile, codeObj);
|
|
log.info("手机号验证码未过期:{},{}", mobile, codeObj);
|
|
- return R.ok(Boolean.FALSE, "验证码发送过频繁");
|
|
|
|
|
|
+ return R.ok(Boolean.FALSE, "验证码尚未过期,请勿频繁获取");
|
|
}
|
|
}
|
|
|
|
|
|
String code = RandomUtil.randomNumbers(Integer.parseInt(SecurityConstants.CODE_SIZE));
|
|
String code = RandomUtil.randomNumbers(Integer.parseInt(SecurityConstants.CODE_SIZE));
|
|
@@ -156,7 +156,7 @@ public class CnbgMobileServiceImpl implements MobileService {
|
|
|
|
|
|
if (Objects.nonNull(codeObj)) {
|
|
if (Objects.nonNull(codeObj)) {
|
|
log.info("手机号验证码未过期:{},{}", mobile, codeObj);
|
|
log.info("手机号验证码未过期:{},{}", mobile, codeObj);
|
|
- return R.ok(Boolean.FALSE, "验证码发送过频繁");
|
|
|
|
|
|
+ return R.ok(Boolean.FALSE, "验证码尚未过期,请勿频繁获取");
|
|
}
|
|
}
|
|
|
|
|
|
List<SysUser> sysUsers = userMapper.selectList(Wrappers.<SysUser>lambdaQuery().eq(SysUser::getUsername, mobile));
|
|
List<SysUser> sysUsers = userMapper.selectList(Wrappers.<SysUser>lambdaQuery().eq(SysUser::getUsername, mobile));
|
|
@@ -212,7 +212,7 @@ public class CnbgMobileServiceImpl implements MobileService {
|
|
|
|
|
|
if (codeObj != null) {
|
|
if (codeObj != null) {
|
|
log.info("手机号验证码未过期:{},{}", mobile, codeObj);
|
|
log.info("手机号验证码未过期:{},{}", mobile, codeObj);
|
|
- return R.ok(Boolean.FALSE, "验证码发送过频繁");
|
|
|
|
|
|
+ return R.ok(Boolean.FALSE, "验证码尚未过期,请勿频繁获取");
|
|
}
|
|
}
|
|
|
|
|
|
String code;
|
|
String code;
|