From f21d302f4ccb816ca2d411544b5ff8bd4f9d4cac Mon Sep 17 00:00:00 2001
From: yanzhaofeige <yanzhaofeige@qq.com>
Date: Mon, 30 Sep 2024 09:52:34 +0800
Subject: [PATCH] init

---
 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