From 0727770457a4bbcf7251e628a3547910438d7683 Mon Sep 17 00:00:00 2001 From: xiang2lin <251481237@qq.com> Date: Thu, 29 Aug 2024 15:57:19 +0800 Subject: [PATCH] =?UTF-8?q?@Value=E8=B5=8B=E9=BB=98=E8=AE=A4=E5=80=BC?= =?UTF-8?q?=E4=BF=AE=E6=94=B9=20/2024=E5=B9=B48=E6=9C=8829=E6=97=A515:57:0?= =?UTF-8?q?2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../file/download/service/impl/FileDownloadServiceImpl.java | 6 +++--- .../sys/file/upload/service/impl/FileUploadServiceImpl.java | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/service/src/main/java/com/hzya/frame/sys/file/download/service/impl/FileDownloadServiceImpl.java b/service/src/main/java/com/hzya/frame/sys/file/download/service/impl/FileDownloadServiceImpl.java index 036d31a7..83e2eb05 100644 --- a/service/src/main/java/com/hzya/frame/sys/file/download/service/impl/FileDownloadServiceImpl.java +++ b/service/src/main/java/com/hzya/frame/sys/file/download/service/impl/FileDownloadServiceImpl.java @@ -30,13 +30,13 @@ import java.util.zip.ZipInputStream; public class FileDownloadServiceImpl extends BaseService< FileDownloadEntity,Long> implements IFileDownloadService{ protected IFileDownloadDao filedownloadDao; - @Value("${savefile.path}") + @Value("${savefile.path:}") public String DSK; - @Value("${savefile.pluginpath}") + @Value("${savefile.pluginpath:}") public String PLUGINPATH; - @Value("${savefile.tomcatpath}") + @Value("${savefile.tomcatpath:}") public String TOMCATPATH; @Autowired public void setFileDownloadDao(IFileDownloadDao dao) { diff --git a/service/src/main/java/com/hzya/frame/sys/file/upload/service/impl/FileUploadServiceImpl.java b/service/src/main/java/com/hzya/frame/sys/file/upload/service/impl/FileUploadServiceImpl.java index b2ccda26..5869b34a 100644 --- a/service/src/main/java/com/hzya/frame/sys/file/upload/service/impl/FileUploadServiceImpl.java +++ b/service/src/main/java/com/hzya/frame/sys/file/upload/service/impl/FileUploadServiceImpl.java @@ -43,7 +43,7 @@ public class FileUploadServiceImpl extends BaseService i @Value("${savefile.path}") public String DSK; - @Value("${savefile.pluginpath}") + @Value("${savefile.pluginpath:}") public String PLUGINPATH; protected IFileUploadDao fileUploadDao;