From 0e84067bf2455091a933330890d91141e353eeff Mon Sep 17 00:00:00 2001
From: 13693261870 <252740454@qq.com>
Date: 星期五, 21 十月 2022 10:05:04 +0800
Subject: [PATCH] 1

---
 src/main/java/com/lf/server/helper/PathHelper.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/lf/server/helper/PathHelper.java b/src/main/java/com/lf/server/helper/PathHelper.java
index 56472b4..54c67d8 100644
--- a/src/main/java/com/lf/server/helper/PathHelper.java
+++ b/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()) {

--
Gitblit v1.9.3