管道基础大数据平台系统开发-【后端】-Server
13693261870
2024-04-22 cc816055746ae0ffa870734e5a411b2a2aabb96a
src/main/java/com/lf/server/config/PropertiesConfig.java
@@ -8,81 +8,51 @@
 * @author WWW
 */
@Configuration
@SuppressWarnings("AlibabaCommentsMustBeJavadocFormat")
public class PropertiesConfig {
    @Value("${sys.path.download}")
    private String downloadPath;
    @Value("${sys.path.export}")
    private String exportPath;
    @Value("${sys.path.upload}")
    private String uploadPath;
    @Value("${sys.path.share}")
    private String sharePath;
    @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 void setDruidUser(String druidUser) {
        this.druidUser = druidUser;
    }
    public String getDruidPwd() {
        return druidPwd;
    }
    public void setDruidPwd(String druidPwd) {
        this.druidPwd = druidPwd;
    }
    @Value("${sys.tile_path}")
    private String tilePath;
    public String getDownloadPath() {
        return downloadPath;
    }
    public void setDownloadPath(String downloadPath) {
        this.downloadPath = downloadPath;
    }
    public String getExportPath() {
        return exportPath;
    }
    public void setExportPath(String exportPath) {
        this.exportPath = exportPath;
    }
    public String getUploadPath() {
        return uploadPath;
    }
    public void setUploadPath(String uploadPath) {
        this.uploadPath = uploadPath;
    }
    public String getSharePath() {
        return sharePath;
    }
    public void setSharePath(String sharePath) {
        this.sharePath = sharePath;
    }
    public String getTempPath() {
        return tempPath;
    }
    public void setTempPath(String tempPath) {
        this.tempPath = tempPath;
    public String getDruidUser() {
        return druidUser;
    }
    public String getDruidPwd() {
        return druidPwd;
    }
    public String getTilePath() {
        return tilePath;
    }
    public String getLfData() {
        return tilePath.replace("2d\\tiles", "");
    }
}