| | |
| | | * @author WWW |
| | | */ |
| | | @Configuration |
| | | @SuppressWarnings("AlibabaCommentsMustBeJavadocFormat") |
| | | public class PropertiesConfig { |
| | | @Value("${sys.fme.url}") |
| | | private String fmeUrl; |
| | | |
| | | @Value("${sys.path.download}") |
| | | private String downloadPath; |
| | | |
| | | @Value("${sys.path.export}") |
| | | private String exportPath; |
| | | |
| | | @Value("${sys.path.upload}") |
| | | private String uploadPath; |
| | |
| | | @Value("${sys.path.temp}") |
| | | private String tempPath; |
| | | |
| | | @Value("${spring.datasource.druid.stat-view-servlet.login-username}") |
| | | // @Value("${spring.datasource.druid.stat-view-servlet.login-username}") |
| | | private String druidUser; |
| | | |
| | | @Value("${spring.datasource.druid.stat-view-servlet.login-password}") |
| | | // @Value("${spring.datasource.druid.stat-view-servlet.login-password}") |
| | | private String druidPwd; |
| | | |
| | | public String getDruidUser() { |
| | | return druidUser; |
| | | public String getFmeUrl() { |
| | | return fmeUrl; |
| | | } |
| | | |
| | | public void setDruidUser(String druidUser) { |
| | | this.druidUser = druidUser; |
| | | } |
| | | |
| | | public String getDruidPwd() { |
| | | return druidPwd; |
| | | } |
| | | |
| | | public void setDruidPwd(String druidPwd) { |
| | | this.druidPwd = druidPwd; |
| | | public void setFmeUrl(String fmeUrl) { |
| | | this.fmeUrl = fmeUrl; |
| | | } |
| | | |
| | | public String getDownloadPath() { |
| | |
| | | |
| | | public void setDownloadPath(String downloadPath) { |
| | | this.downloadPath = downloadPath; |
| | | } |
| | | |
| | | public String getExportPath() { |
| | | return exportPath; |
| | | } |
| | | |
| | | public void setExportPath(String exportPath) { |
| | | this.exportPath = exportPath; |
| | | } |
| | | |
| | | public String getUploadPath() { |
| | |
| | | public void setTempPath(String tempPath) { |
| | | this.tempPath = tempPath; |
| | | } |
| | | |
| | | public String getDruidUser() { |
| | | return druidUser; |
| | | } |
| | | |
| | | public void setDruidUser(String druidUser) { |
| | | this.druidUser = druidUser; |
| | | } |
| | | |
| | | public String getDruidPwd() { |
| | | return druidPwd; |
| | | } |
| | | |
| | | public void setDruidPwd(String druidPwd) { |
| | | this.druidPwd = druidPwd; |
| | | } |
| | | } |