参数问题

This commit is contained in:
zhangguoping 2024-08-01 11:53:14 +08:00
parent 045fc67635
commit a2b70dbc25
3 changed files with 7 additions and 7 deletions

View File

@ -553,7 +553,7 @@
if (ua.indexOf("CreditCardAppNew") > -1 || ua.indexOf("CreditCardAppNew UnionPay/1.0") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0 if (ua.indexOf("CreditCardAppNew") > -1 || ua.indexOf("CreditCardAppNew UnionPay/1.0") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
Fw.device.api.openWXMiniProgram({ Fw.device.api.openWXMiniProgram({
programID: "gh_07fecf7a6d31", programID: "gh_07fecf7a6d31",
path: "pages/index/index", path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
// miniType: 2, // 1 开发版 2 体验版 // 正式z 删除 // miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
extMsg: JSON.stringify({ extMsg: JSON.stringify({
code_batch_id: this.code_batch_id, code_batch_id: this.code_batch_id,
@ -576,7 +576,7 @@
console.log(result); console.log(result);
}); });
} }
// upWXSmallProgramYouBank(); upWXSmallProgramYouBank();
} else { } else {
window.location.replace(res.data.redirect_url); window.location.replace(res.data.redirect_url);
} }

View File

@ -263,7 +263,7 @@
this.loading = false; this.loading = false;
return Fw.device.api.openWXMiniProgram({ return Fw.device.api.openWXMiniProgram({
programID: "gh_07fecf7a6d31", programID: "gh_07fecf7a6d31",
path: "pages/index/index", path: `pages/index/index?order_number=${res.data.order_number}`,
// miniType: 2, // 1 开发版 2 体验版 // 正式z 删除 // miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
extMsg: JSON.stringify({ extMsg: JSON.stringify({
order_number: res.data.order_number order_number: res.data.order_number
@ -288,8 +288,8 @@
console.log(result); console.log(result);
}); });
} }
// upWXSmallProgramYouBank(); upWXSmallProgramYouBank();
// return; return;
} }
//微信 //微信
// if (ua.indexOf("dingtalk") > -1) { // if (ua.indexOf("dingtalk") > -1) {

View File

@ -530,7 +530,7 @@
if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0 if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
Fw.device.api.openWXMiniProgram({ Fw.device.api.openWXMiniProgram({
programID: "gh_07fecf7a6d31", programID: "gh_07fecf7a6d31",
path: "pages/index/index", path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
// miniType: 2, // 1 开发版 2 体验版 // 正式z 删除 // miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
extMsg: JSON.stringify({ extMsg: JSON.stringify({
code_batch_id: this.code_batch_id, code_batch_id: this.code_batch_id,
@ -553,7 +553,7 @@
console.log(result); console.log(result);
}); });
} }
// upWXSmallProgramYouBank(); upWXSmallProgramYouBank();
} else { } else {
window.location.replace(res.data.redirect_url); window.location.replace(res.data.redirect_url);
} }