塔罗:修改访问页面域名
This commit is contained in:
@@ -494,12 +494,12 @@ $(function () {
|
||||
// 调用原生支付
|
||||
function toWxAppPay (data, chargeRecordId) {
|
||||
console.log('--------');
|
||||
data.url = urlPrefix + `/yinmeng/modules/tarot/payment_result.html?chargeRecordId=${chargeRecordId}`;
|
||||
data.url = tranUrl + `/yinmeng/modules/tarot/payment_result.html?chargeRecordId=${chargeRecordId}`;
|
||||
console.log(data);
|
||||
const browser = checkVersion();
|
||||
if (browser.app) {
|
||||
if (browser.android) {
|
||||
window.androidJsObj.openNativeTarotPay(JSON.stringify(data), urlPrefix + `/yinmeng/modules/tarot/payment_result.html?chargeRecordId=${chargeRecordId}`);
|
||||
window.androidJsObj.openNativeTarotPay(JSON.stringify(data), tranUrl + `/yinmeng/modules/tarot/payment_result.html?chargeRecordId=${chargeRecordId}`);
|
||||
} else {
|
||||
window.webkit.messageHandlers.openNativeTarotPay.postMessage(data);;
|
||||
}
|
||||
|
Reference in New Issue
Block a user