From 4bb9cc96dabef5aaaf6fcb13bade9e7876e5f594 Mon Sep 17 00:00:00 2001 From: yixian Date: Tue, 8 Jan 2019 09:21:06 +0800 Subject: [PATCH] secure upload --- .../payment/manage/system/core/beans/TradeSecureFile.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/system/core/beans/TradeSecureFile.java b/src/main/java/au/com/royalpay/payment/manage/system/core/beans/TradeSecureFile.java index 5b7e8c9e0..76b558dc8 100644 --- a/src/main/java/au/com/royalpay/payment/manage/system/core/beans/TradeSecureFile.java +++ b/src/main/java/au/com/royalpay/payment/manage/system/core/beans/TradeSecureFile.java @@ -65,7 +65,7 @@ public class TradeSecureFile { } public String filename() { - return String.join("_", transDate.toString("yyMMdd"), pid, createTime.toString("yyMMddHHmmss")); + return String.join("_", transDate.toString("yyMMdd"), pid, createTime.toString("yyMMddHHmmss")) + ".txt"; } public byte[] content() {