账单码 alipayaps识别

master
dalong306 3 years ago
parent f52e51ccf5
commit a63def7e73

@ -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;
}
}

@ -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';

Loading…
Cancel
Save