From d2de773007fa20fed88e0ca40c3e9864f1415f67 Mon Sep 17 00:00:00 2001
From: DYL0109 <1332079466@qq.com>
Date: 星期三, 19 二月 2025 13:58:50 +0800
Subject: [PATCH] !88 格式化 Merge pull request !88 from DYL0109/dyl_dev

---
 zhitan-common/src/main/java/com/zhitan/common/config/BaseConfig.java |   71 +++++++++++++++++------------------
 1 files changed, 34 insertions(+), 37 deletions(-)

diff --git a/zhitan-common/src/main/java/com/zhitan/common/config/BaseConfig.java b/zhitan-common/src/main/java/com/zhitan/common/config/BaseConfig.java
index 04ee184..f7530a2 100644
--- a/zhitan-common/src/main/java/com/zhitan/common/config/BaseConfig.java
+++ b/zhitan-common/src/main/java/com/zhitan/common/config/BaseConfig.java
@@ -5,29 +5,40 @@
 
 /**
  * 璇诲彇椤圭洰鐩稿叧閰嶇疆
- * 
+ *
  * @author zhitan
  */
 @Component
 @ConfigurationProperties(prefix = "base")
-public class BaseConfig
-{
-    /** 椤圭洰鍚嶇О */
+public class BaseConfig {
+    /**
+     * 椤圭洰鍚嶇О
+     */
     private String name;
 
-    /** 鐗堟湰 */
+    /**
+     * 鐗堟湰
+     */
     private String version;
 
-    /** 鐗堟潈骞翠唤 */
+    /**
+     * 鐗堟潈骞翠唤
+     */
     private String copyrightYear;
 
-    /** 涓婁紶璺緞 */
+    /**
+     * 涓婁紶璺緞
+     */
     private static String profile;
 
-    /** 鑾峰彇鍦板潃寮�鍏� */
+    /**
+     * 鑾峰彇鍦板潃寮�鍏�
+     */
     private static boolean addressEnabled;
 
-    /** 楠岃瘉鐮佺被鍨� */
+    /**
+     * 楠岃瘉鐮佺被鍨�
+     */
     private static String captchaType;
 
     /**
@@ -36,53 +47,43 @@
     private String domainName;
 
 
-    public String getName()
-    {
+    public String getName() {
         return name;
     }
 
-    public void setName(String name)
-    {
+    public void setName(String name) {
         this.name = name;
     }
 
-    public String getVersion()
-    {
+    public String getVersion() {
         return version;
     }
 
-    public void setVersion(String version)
-    {
+    public void setVersion(String version) {
         this.version = version;
     }
 
-    public String getCopyrightYear()
-    {
+    public String getCopyrightYear() {
         return copyrightYear;
     }
 
-    public void setCopyrightYear(String copyrightYear)
-    {
+    public void setCopyrightYear(String copyrightYear) {
         this.copyrightYear = copyrightYear;
     }
 
-    public static String getProfile()
-    {
+    public static String getProfile() {
         return profile;
     }
 
-    public void setProfile(String profile)
-    {
+    public void setProfile(String profile) {
         BaseConfig.profile = profile;
     }
 
-    public static boolean isAddressEnabled()
-    {
+    public static boolean isAddressEnabled() {
         return addressEnabled;
     }
 
-    public void setAddressEnabled(boolean addressEnabled)
-    {
+    public void setAddressEnabled(boolean addressEnabled) {
         BaseConfig.addressEnabled = addressEnabled;
     }
 
@@ -97,32 +98,28 @@
     /**
      * 鑾峰彇瀵煎叆涓婁紶璺緞
      */
-    public static String getImportPath()
-    {
+    public static String getImportPath() {
         return getProfile() + "/import";
     }
 
     /**
      * 鑾峰彇澶村儚涓婁紶璺緞
      */
-    public static String getAvatarPath()
-    {
+    public static String getAvatarPath() {
         return getProfile() + "/avatar";
     }
 
     /**
      * 鑾峰彇涓嬭浇璺緞
      */
-    public static String getDownloadPath()
-    {
+    public static String getDownloadPath() {
         return getProfile() + "/download/";
     }
 
     /**
      * 鑾峰彇涓婁紶璺緞
      */
-    public static String getUploadPath()
-    {
+    public static String getUploadPath() {
         return getProfile() + "/upload";
     }
 

--
Gitblit v1.9.3