完成邀请好友页面,联调第三方充值,迁移星级厨房页面

This commit is contained in:
Dragon
2022-10-20 16:28:50 +08:00
parent 9743ac86b1
commit 7931c60a68
102 changed files with 1903 additions and 2371 deletions

View File

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