From da729610d6681c5d0d8a8ed77833c9eaaa0f2d62 Mon Sep 17 00:00:00 2001 From: coral chen Date: Fri, 4 Sep 2020 15:25:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E9=99=A4=E6=8F=90=E4=BE=9B=E5=95=86?= =?UTF-8?q?=E6=9C=8D=E5=BC=80=E5=BA=97=E4=BF=A1=E6=81=AF=E7=9A=84=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage/appclient/core/impls/RetailRSvcServiceImpl.java | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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 c26fdab76..63b0fcc73 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 @@ -66,12 +66,7 @@ public class RetailRSvcServiceImpl implements RetailRSvcService { public JSONObject findMchInfoBySourceCode(JSONObject device, String sourceCode, boolean debug) { String clientType = device.getString("client_type"); deviceSupport.findRegister(clientType); - JSONObject clientConfig = clientConfigMapper.find(device.getIntValue("client_id")); - if (!debug && !clientConfig.getBooleanValue("geek_shop_status") - && device.getIntValue("client_id") != 9 - && device.getIntValue("client_id") != 4181) { - throw new NotFoundException(); - } + JSONObject svcInfo = commonIncrementalChannelMapper.findIncreamentalChannelBySourceCode(sourceCode); if (svcInfo == null || StringUtils.isEmpty(svcInfo.getString("channel_pub_key")) || StringUtils.isEmpty(svcInfo.getString("platform_pub_key")) || StringUtils.isEmpty("platform_pri_key")) {