|
|
|
@ -1,7 +1,6 @@
|
|
|
|
|
package org.dromara.common.core.config;
|
|
|
|
|
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
import lombok.Getter;
|
|
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
|
|
|
@ -31,19 +30,4 @@ public class RuoYiConfig {
|
|
|
|
|
*/
|
|
|
|
|
private String copyrightYear;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 实例演示开关
|
|
|
|
|
*/
|
|
|
|
|
private boolean demoEnabled;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 获取地址开关
|
|
|
|
|
*/
|
|
|
|
|
@Getter
|
|
|
|
|
private static boolean addressEnabled;
|
|
|
|
|
|
|
|
|
|
public void setAddressEnabled(boolean addressEnabled) {
|
|
|
|
|
RuoYiConfig.addressEnabled = addressEnabled;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|