From cd9d937a11df95d5fc12723275f822b940b9c731 Mon Sep 17 00:00:00 2001 From: luoyang Date: Thu, 5 Mar 2020 15:21:56 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E8=B7=A8=E5=A2=83=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E3=80=81gateway=E8=BF=9B=E4=BB=B6=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 2 +- .../manage/appclient/core/impls/RetailRSvcServiceImpl.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 3f708f676..44044c6ba 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ 4.0.0 manage - 1.3.84 + 1.3.85 UTF-8 1.8.0 diff --git a/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/RetailRSvcServiceImpl.java b/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/RetailRSvcServiceImpl.java index 07cd3ef40..43d9d882e 100644 --- a/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/RetailRSvcServiceImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/appclient/core/impls/RetailRSvcServiceImpl.java @@ -11,6 +11,7 @@ import au.com.royalpay.payment.tools.codec.AESCrypt; import au.com.royalpay.payment.tools.device.DeviceSupport; import au.com.royalpay.payment.tools.encryptalgorithm.SignUtils; import au.com.royalpay.payment.tools.exceptions.BadRequestException; +import au.com.royalpay.payment.tools.exceptions.NotFoundException; import au.com.royalpay.payment.tools.mappers.CommonIncrementalChannelMapper; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONObject; @@ -48,7 +49,7 @@ public class RetailRSvcServiceImpl implements RetailRSvcService { deviceSupport.findRegister(clientType); JSONObject clientConfig = clientConfigMapper.find(device.getIntValue("client_id")); if (!debug && !clientConfig.getBooleanValue("geek_shop_status")) { - throw new BadRequestException("商户未开店"); + throw new NotFoundException(); } JSONObject svcInfo = commonIncrementalChannelMapper.findIncreamentalChannelBySourceCode(sourceCode); if (svcInfo == null || StringUtils.isEmpty(svcInfo.getString("channel_pub_key"))