From 05600d089901d44e8d5036046025b6a90ceb896a Mon Sep 17 00:00:00 2001
From: heheng <heheng@123456>
Date: Tue, 03 Dec 2024 16:57:20 +0800
Subject: [PATCH] 修改及增加功能
---
expert-common/src/main/java/com/gkhy/common/config/ExpertConfig.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/expert-common/src/main/java/com/gkhy/common/config/ExpertConfig.java b/expert-common/src/main/java/com/gkhy/common/config/ExpertConfig.java
index cce1c80..d013d41 100644
--- a/expert-common/src/main/java/com/gkhy/common/config/ExpertConfig.java
+++ b/expert-common/src/main/java/com/gkhy/common/config/ExpertConfig.java
@@ -10,7 +10,7 @@
*/
@Component
@ConfigurationProperties(prefix = "expert")
-public class expertConfig
+public class ExpertConfig
{
/** 项目名称 */
private String name;
@@ -67,7 +67,7 @@
public void setProfile(String profile)
{
- expertConfig.profile = profile;
+ ExpertConfig.profile = profile;
}
public static boolean isAddressEnabled()
@@ -77,7 +77,7 @@
public void setAddressEnabled(boolean addressEnabled)
{
- expertConfig.addressEnabled = addressEnabled;
+ ExpertConfig.addressEnabled = addressEnabled;
}
public static String getCaptchaType() {
@@ -85,7 +85,7 @@
}
public void setCaptchaType(String captchaType) {
- expertConfig.captchaType = captchaType;
+ ExpertConfig.captchaType = captchaType;
}
/**
--
Gitblit v1.9.2