src/main/java/com/lf/server/service/all/BaseUploadService.java
@@ -28,10 +28,10 @@ @Service public class BaseUploadService { @Autowired private DirService dirService; protected DirService dirService; @Autowired private PathHelper pathHelper; protected PathHelper pathHelper; public final Log log = LogFactory.getLog(getClass()); @@ -347,7 +347,7 @@ if (0 != dir.getPid() || null == dirs || dirs.isEmpty()) { return dir.getId(); } if ("/".equals(File.separator)) { if (StaticData.SLASH.equals(File.separator)) { filePath = filePath.replace("/", "\\"); }