fix():修复gateway异常拦截的时候,整体报错信息堆栈输出

master
lwj 2024-07-31 20:34:04 +08:00
parent 43f1354362
commit 5d0e70f224
1 changed files with 2 additions and 1 deletions

View File

@ -50,7 +50,8 @@ public class ValidateCodeServiceImpl implements ValidateCodeService {
CaptchaCodeResp.CaptchaCodeRespBuilder respBuilder = CaptchaCodeResp.builder()
.captchaEnabled(captchaEnabled);
if (!captchaEnabled) {
return Result.success(respBuilder);
// return Result.success(respBuilder.build());
return Result.success(respBuilder.build());
}
// 保存验证码信息