完成邀请好友页面,联调第三方充值,迁移星级厨房页面
This commit is contained in:
@@ -11,7 +11,8 @@ let openId;
|
||||
let payChannel;//付款方式
|
||||
let paymentType;//付款码
|
||||
var host = window.location.host;
|
||||
let successUrl = `${window.location.protocol}//${host}/peko/modules/pay/index.html`;//支付成功回调路径
|
||||
// let successUrl = `${window.location.protocol}//${host}/peko/modules/pay/index.html`;//支付成功回调路径
|
||||
let successUrl = window.location.href;//支付成功回调路径
|
||||
let uid;
|
||||
let modeOfPayment = false;//判断是否有选择支付方式
|
||||
let paymentAmount = false;//判断是否有选择付款金额
|
||||
@@ -122,7 +123,7 @@ $(function () {
|
||||
console.log(res)
|
||||
$('.logingActive').text("請稍等");//""
|
||||
$('.logingActive').show();
|
||||
window.location.href = res.data.mweb_url
|
||||
window.location.replace(res.data.payInfo.mweb_url);
|
||||
} else {
|
||||
logingFun(res.message)
|
||||
}
|
||||
|
Reference in New Issue
Block a user