|
@@ -35,10 +35,10 @@ public class VerifyCodeServiceImpl implements VerifyCodeService {
|
|
|
|
|
|
@Override
|
|
|
public String sendSmsCode(VerifyCodeDTO verifyCodeDTO) {
|
|
|
- boolean flag = validCaptchaCode(verifyCodeDTO.getRandomStr(), verifyCodeDTO.getCaptchaCode(), true);
|
|
|
+ /*boolean flag = validCaptchaCode(verifyCodeDTO.getRandomStr(), verifyCodeDTO.getCaptchaCode(), true);
|
|
|
if (!flag) {
|
|
|
throw new BusinessException(ResultCode.CAPTCHA_CODE_FAIL);
|
|
|
- }
|
|
|
+ }*/
|
|
|
Map<String, Integer> codeMap = DictCache.getValueByCodeMapByTypeHasNull(DictTypeEnum.SMS_SEND_CODE.getType());
|
|
|
Integer size = 6;
|
|
|
Integer time = 5 * 60;
|