remove 删除无用配置
This commit is contained in:
parent
5ebf079b4f
commit
c1b9b95581
@ -6,10 +6,6 @@ ruoyi:
|
|||||||
version: ${revision}
|
version: ${revision}
|
||||||
# 版权年份
|
# 版权年份
|
||||||
copyrightYear: 2023
|
copyrightYear: 2023
|
||||||
# 实例演示开关
|
|
||||||
demoEnabled: true
|
|
||||||
# 获取ip地址开关
|
|
||||||
addressEnabled: true
|
|
||||||
|
|
||||||
captcha:
|
captcha:
|
||||||
enable: true
|
enable: true
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
package org.dromara.common.core.config;
|
package org.dromara.common.core.config;
|
||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
import lombok.Getter;
|
|
||||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
|
|
||||||
@ -31,19 +30,4 @@ public class RuoYiConfig {
|
|||||||
*/
|
*/
|
||||||
private String copyrightYear;
|
private String copyrightYear;
|
||||||
|
|
||||||
/**
|
|
||||||
* 实例演示开关
|
|
||||||
*/
|
|
||||||
private boolean demoEnabled;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 获取地址开关
|
|
||||||
*/
|
|
||||||
@Getter
|
|
||||||
private static boolean addressEnabled;
|
|
||||||
|
|
||||||
public void setAddressEnabled(boolean addressEnabled) {
|
|
||||||
RuoYiConfig.addressEnabled = addressEnabled;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user