From 82caf7a439b8ff7babb17352b1664aaaaf4a352f Mon Sep 17 00:00:00 2001 From: yixian Date: Fri, 21 Jun 2019 17:21:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=80=9A=E9=93=B6=E4=B8=8A=E4=BC=A0=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E8=A2=AB=E6=88=AA=E6=96=AD=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=EF=BC=8C=E8=AF=8A=E6=96=AD=E6=8E=A5=E5=8F=A3=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage/system/core/impl/TradeSecureServiceHanyinImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/system/core/impl/TradeSecureServiceHanyinImpl.java b/src/main/java/au/com/royalpay/payment/manage/system/core/impl/TradeSecureServiceHanyinImpl.java index e9a83516a..060a41e1b 100644 --- a/src/main/java/au/com/royalpay/payment/manage/system/core/impl/TradeSecureServiceHanyinImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/system/core/impl/TradeSecureServiceHanyinImpl.java @@ -66,7 +66,7 @@ public class TradeSecureServiceHanyinImpl implements TradeSecureService { if (upload) { sftpUpload(file); } - if (resp != null) { + if (!upload && resp != null) { file.writeToHttp(resp); } }