src/main/java/com/lf/server/helper/PathHelper.java
@@ -119,10 +119,10 @@ /** * 获取临时路径 */ public String getTempPath() { String tempName = StringHelper.YMD_HM_FORMAT.format(new Date()); public String getTempPath(int id) { String tempName = StringHelper.YMD__FORMAT.format(new Date()); String tempPath = config.getTempPath(); String path = tempPath + File.separator + tempName; String path = tempPath + File.separator + tempName + id; File file = new File(path); if (!file.exists() && !file.isDirectory()) {