增加build

master
chentaisen 2024-07-31 19:13:13 +08:00
parent be1ae0eefe
commit 7a6e4e727d
1 changed files with 1 additions and 1 deletions

View File

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