From 14a779efd30e4ee529b42afa42794d7d78fc335e Mon Sep 17 00:00:00 2001 From: 13693261870 <252740454@qq.com> Date: 星期五, 03 二月 2023 09:54:28 +0800 Subject: [PATCH] 1 --- src/main/java/com/lf/server/entity/all/StaticData.java | 2 +- src/main/java/com/lf/server/config/PropertiesConfig.java | 34 ++++++++++++---------------------- src/main/resources/application.yml | 4 ++++ 3 files changed, 17 insertions(+), 23 deletions(-) diff --git a/src/main/java/com/lf/server/config/PropertiesConfig.java b/src/main/java/com/lf/server/config/PropertiesConfig.java index 6767572..8c59e4a 100644 --- a/src/main/java/com/lf/server/config/PropertiesConfig.java +++ b/src/main/java/com/lf/server/config/PropertiesConfig.java @@ -28,51 +28,41 @@ // @Value("${spring.datasource.druid.stat-view-servlet.login-password}") private String druidPwd; + @Value("${sys.path.publishMpt}") + private String publishMptPath; + + @Value("${sys.path.publish3dml}") + private String publish3dmlPath; + public String getDownloadPath() { return downloadPath; - } - - public void setDownloadPath(String downloadPath) { - this.downloadPath = downloadPath; } 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 void setDruidUser(String druidUser) { - this.druidUser = druidUser; } public String getDruidPwd() { return druidPwd; } - public void setDruidPwd(String druidPwd) { - this.druidPwd = druidPwd; + public String getPublishMptPath() { + return publishMptPath; + } + + public String getPublish3dmlPath() { + return publish3dmlPath; } } diff --git a/src/main/java/com/lf/server/entity/all/StaticData.java b/src/main/java/com/lf/server/entity/all/StaticData.java index 4625c56..250f375 100644 --- a/src/main/java/com/lf/server/entity/all/StaticData.java +++ b/src/main/java/com/lf/server/entity/all/StaticData.java @@ -117,7 +117,7 @@ /** * 3DML鏂囦欢 */ - public final static String _3DML = ".3dml"; + public final static String D3DML = ".3dml"; /** * TIF鏂囦欢 diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 47506c6..4d3f273 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -158,3 +158,7 @@ share: D:\LF\share # 涓存椂鐩綍锛堜复鏃朵笂浼犳枃浠讹級 temp: D:\LF\temp + # 鍙戝竷Mpt鐩綍 + publishMpt: D:\LF\publish3dml + # 鍙戝竷3DML鐩綍 + publish3dml: D:\LF\publishMpt -- Gitblit v1.9.3