[feat] 前台不再回显验证码

This commit is contained in:
hsdllcw
2024-08-13 14:42:46 +08:00
parent 94fa483dd3
commit 450f3b56fa

View File

@@ -123,7 +123,6 @@ public class ValidateCodeServiceImpl implements ValidateCodeService
if (expire <= 0) {
String code = captchaProducerNumber.createText();
redisService.setCacheObject(verifyKey, code, Constants.CAPTCHA_EXPIRATION, TimeUnit.MINUTES);
ajax.put("code", code);
expire = redisService.getExpire(verifyKey);
AliyunUtils.sendSms(
smsAliyuncs.getAccessKeyId(),