| | |
| | | */ |
| | | @Component |
| | | @ConfigurationProperties(prefix = "expert") |
| | | public class expertConfig |
| | | public class ExpertConfig |
| | | { |
| | | /** 项目名称 */ |
| | | private String name; |
| | |
| | | |
| | | public void setProfile(String profile) |
| | | { |
| | | expertConfig.profile = profile; |
| | | ExpertConfig.profile = profile; |
| | | } |
| | | |
| | | public static boolean isAddressEnabled() |
| | |
| | | |
| | | public void setAddressEnabled(boolean addressEnabled) |
| | | { |
| | | expertConfig.addressEnabled = addressEnabled; |
| | | ExpertConfig.addressEnabled = addressEnabled; |
| | | } |
| | | |
| | | public static String getCaptchaType() { |
| | |
| | | } |
| | | |
| | | public void setCaptchaType(String captchaType) { |
| | | expertConfig.captchaType = captchaType; |
| | | ExpertConfig.captchaType = captchaType; |
| | | } |
| | | |
| | | /** |