gongchunyi
23 小时以前 53dde9c7ba6a26d44bfd5ccf0c0cdb37ada9288a
src/main/java/com/ruoyi/project/common/CaptchaController.java
@@ -51,9 +51,9 @@
    public AjaxResult getCode(HttpServletResponse response) throws IOException
    {
        AjaxResult ajax = AjaxResult.success();
        boolean captchaOnOff = configService.selectCaptchaOnOff();
        ajax.put("captchaOnOff", captchaOnOff);
        if (!captchaOnOff)
        boolean captchaEnabled = configService.selectCaptchaEnabled();
        ajax.put("captchaEnabled", captchaEnabled);
        if (!captchaEnabled)
        {
            return ajax;
        }