From 027cd821a251170e18569d052ab45ef8ccd9f0da Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期五, 29 七月 2022 14:25:28 +0800 Subject: [PATCH] fix 修复 脱敏没有实现类导致返回数据异常问题 --- 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