From 9a224d216652ef2d6ff2e0bd01fba69c86a3f277 Mon Sep 17 00:00:00 2001 From: yanzhaofeige <yanzhaofeige@qq.com> Date: Fri, 11 Oct 2024 11:28:55 +0800 Subject: [PATCH] 基础表单更新 --- cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/common/CaptchaController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/common/CaptchaController.java b/cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/common/CaptchaController.java index ec3e5bd..1756edf 100644 --- a/cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/common/CaptchaController.java +++ b/cpzidc-admin/src/main/java/com/odcc/cpzidc/web/controller/common/CaptchaController.java @@ -11,7 +11,7 @@ import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; import com.google.code.kaptcha.Producer; -import com.odcc.cpzidc.common.config.RuoYiConfig; +import com.odcc.cpzidc.common.config.CpzIdcConfig; import com.odcc.cpzidc.common.constant.CacheConstants; import com.odcc.cpzidc.common.constant.Constants; import com.odcc.cpzidc.common.core.domain.AjaxResult; @@ -61,7 +61,7 @@ BufferedImage image = null; // 生成验证码 - String captchaType = RuoYiConfig.getCaptchaType(); + String captchaType = CpzIdcConfig.getCaptchaType(); if ("math".equals(captchaType)) { String capText = captchaProducerMath.createText(); -- Gitblit v1.9.3