From 56d209cd20ccae3165eedfc5105089175c611db2 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期六, 13 八月 2022 23:53:04 +0800 Subject: [PATCH] fix 修复 BaseMapperPlus 方法命令不一致问题 --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CaptchaController.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CaptchaController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CaptchaController.java index f4e7dff..2680c01 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CaptchaController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/common/CaptchaController.java @@ -79,9 +79,9 @@ @GetMapping("/captchaImage") public R<Map<String, Object>> getCode() { Map<String, Object> ajax = new HashMap<>(); - boolean captchaOnOff = configService.selectCaptchaOnOff(); - ajax.put("captchaOnOff", captchaOnOff); - if (!captchaOnOff) { + boolean captchaEnabled = configService.selectCaptchaEnabled(); + ajax.put("captchaEnabled", captchaEnabled); + if (!captchaEnabled) { return R.ok(ajax); } // 淇濆瓨楠岃瘉鐮佷俊鎭� -- Gitblit v1.9.3