yaowanxin
6 天以前 0b3cbc9c80c5544bfc0f9aeea8a89141dd5abe0d
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;
        }