|
@@ -6,11 +6,11 @@ import org.springframework.stereotype.Component;
|
|
|
/**
|
|
|
* 读取项目相关配置
|
|
|
*
|
|
|
- * @author ruoyi
|
|
|
+ * @author yq
|
|
|
*/
|
|
|
@Component
|
|
|
-@ConfigurationProperties(prefix = "ruoyi")
|
|
|
-public class RuoYiConfig
|
|
|
+@ConfigurationProperties(prefix = "wj")
|
|
|
+public class WjConfig
|
|
|
{
|
|
|
/** 项目名称 */
|
|
|
private String name;
|
|
@@ -77,7 +77,7 @@ public class RuoYiConfig
|
|
|
|
|
|
public void setProfile(String profile)
|
|
|
{
|
|
|
- RuoYiConfig.profile = profile;
|
|
|
+ WjConfig.profile = profile;
|
|
|
}
|
|
|
|
|
|
public static boolean isAddressEnabled()
|
|
@@ -87,7 +87,7 @@ public class RuoYiConfig
|
|
|
|
|
|
public void setAddressEnabled(boolean addressEnabled)
|
|
|
{
|
|
|
- RuoYiConfig.addressEnabled = addressEnabled;
|
|
|
+ WjConfig.addressEnabled = addressEnabled;
|
|
|
}
|
|
|
|
|
|
/**
|