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-common/src/main/java/com/odcc/cpzidc/common/config/CpzIdcConfig.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/cpzidc-common/src/main/java/com/odcc/cpzidc/common/config/RuoYiConfig.java b/cpzidc-common/src/main/java/com/odcc/cpzidc/common/config/CpzIdcConfig.java
similarity index 90%
rename from cpzidc-common/src/main/java/com/odcc/cpzidc/common/config/RuoYiConfig.java
rename to cpzidc-common/src/main/java/com/odcc/cpzidc/common/config/CpzIdcConfig.java
index 46a92d8..a974ffa 100644
--- a/cpzidc-common/src/main/java/com/odcc/cpzidc/common/config/RuoYiConfig.java
+++ b/cpzidc-common/src/main/java/com/odcc/cpzidc/common/config/CpzIdcConfig.java
@@ -9,8 +9,8 @@
  * @author ruoyi
  */
 @Component
-@ConfigurationProperties(prefix = "ruoyi")
-public class RuoYiConfig
+@ConfigurationProperties(prefix = "cpzidc")
+public class CpzIdcConfig
 {
     /** 项目名称 */
     private String name;
@@ -67,7 +67,7 @@
 
     public void setProfile(String profile)
     {
-        RuoYiConfig.profile = profile;
+        CpzIdcConfig.profile = profile;
     }
 
     public static boolean isAddressEnabled()
@@ -77,7 +77,7 @@
 
     public void setAddressEnabled(boolean addressEnabled)
     {
-        RuoYiConfig.addressEnabled = addressEnabled;
+        CpzIdcConfig.addressEnabled = addressEnabled;
     }
 
     public static String getCaptchaType() {
@@ -85,7 +85,7 @@
     }
 
     public void setCaptchaType(String captchaType) {
-        RuoYiConfig.captchaType = captchaType;
+        CpzIdcConfig.captchaType = captchaType;
     }
 
     /**

--
Gitblit v1.9.3