From 744eed339b9417122bb0e04a8ae80e317785e2b3 Mon Sep 17 00:00:00 2001 From: dimengzhe <251008545@qq.com> Date: Tue, 2 Aug 2022 17:44:58 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=BA=93=E6=B7=BB=E5=8A=A0=E5=87=BA?= =?UTF-8?q?=E9=97=A8=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yxt/common/base/config/component/FileUploadComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yxt-common/yxt-common-base/src/main/java/com/yxt/common/base/config/component/FileUploadComponent.java b/yxt-common/yxt-common-base/src/main/java/com/yxt/common/base/config/component/FileUploadComponent.java index f6f08a2..ae11bab 100644 --- a/yxt-common/yxt-common-base/src/main/java/com/yxt/common/base/config/component/FileUploadComponent.java +++ b/yxt-common/yxt-common-base/src/main/java/com/yxt/common/base/config/component/FileUploadComponent.java @@ -205,7 +205,7 @@ public class FileUploadComponent { return uploadFile(file, false, relativePath); } - private String dateFileName() { + public String dateFileName() { return DateUtil.format(new Date(), "yyyyMMddHHmmssSSS") + RandomUtil.randomNumbers(3); }