From a63def7e735bd8354e610631ecaa6875d595cad3 Mon Sep 17 00:00:00 2001 From: dalong306 <304592994@qq.com> Date: Wed, 22 Dec 2021 17:03:40 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=A6=E5=8D=95=E7=A0=81=20alipayaps?= =?UTF-8?q?=E8=AF=86=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../manage/merchants/core/impls/ClientManagerImpl.java | 2 +- src/main/ui/static/templates/billCode/js/mobile_payment.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java b/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java index 92b34d9db..7b21fc425 100644 --- a/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java +++ b/src/main/java/au/com/royalpay/payment/manage/merchants/core/impls/ClientManagerImpl.java @@ -7194,7 +7194,7 @@ public class ClientManagerImpl implements ClientManager, ManagerTodoNoticeProvid PayChannel channel = isRetail ? PayChannel.ALIPAY_APS_IN_STORE : PayChannel.ALIPAY_APS_CASHIER; if (channel == PayChannel.ALIPAY_APS_CASHIER) { String apsOnlinePrefix = PlatformEnvironment.getEnv().getApsOnlinePrefix() != null ? - PlatformEnvironment.getEnv().getApsOnlinePrefix() : "00_"; + PlatformEnvironment.getEnv().getApsOnlinePrefix() : "00-"; mid = apsOnlinePrefix + mid; } } diff --git a/src/main/ui/static/templates/billCode/js/mobile_payment.js b/src/main/ui/static/templates/billCode/js/mobile_payment.js index 8c63fdec4..d7c61a6e9 100644 --- a/src/main/ui/static/templates/billCode/js/mobile_payment.js +++ b/src/main/ui/static/templates/billCode/js/mobile_payment.js @@ -162,7 +162,7 @@ $(document).ready(function () { } } if(paymentFun == 'AlipayAps'){ - if(window.openmobilefun == 'alipayaps'|| window.openmobilefun == 'alipayaps_cn'){ + if(window.openmobilefun == 'alipayaps'){ paymentLink = '/api/v1.0/share_code/business/bills/'+window.billInfo.bill_code_id+'/alipay_aps/mobile'; }else{ paymentLink = '/api/v1.0/share_code/business/bills/'+window.billInfo.bill_code_id+'/alipay_aps/mobile/redirectApp?priorityChannel=AlipayAps'; @@ -189,7 +189,7 @@ $(document).ready(function () { } } if(paymentFun == 'AlipayAps'){ - if(window.openmobilefun == 'alipayaps'|| window.openmobilefun == 'alipayaps_cn'){ + if(window.openmobilefun == 'alipayaps'){ paymentLink = '/api/v1.0/share_code/bills/payment/orders/'+window.billInfo.bill_code_id+'/alipay_aps/share_link' }else{ paymentLink = '/api/v1.0/share_code/bills/payment/'+window.billInfo.bill_code_id+'/alipay_aps/mobile/redirectApp?priorityChannel=AlipayAps';