This commit is contained in:
zhangguoping 2024-08-01 14:22:02 +08:00
parent b6d40c9b27
commit 3b48a825d1
3 changed files with 3 additions and 7 deletions

View File

@ -554,14 +554,13 @@
Fw.device.api.openWXMiniProgram({ Fw.device.api.openWXMiniProgram({
programID: "gh_07fecf7a6d31", programID: "gh_07fecf7a6d31",
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`, 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,
token: this.token, token: this.token,
}) })
}) })
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) { } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) {
alert(ua, 33)
function upWXSmallProgramYouBank(){ function upWXSmallProgramYouBank(){
function objectToQueryString(path) { function objectToQueryString(path) {
const obj = JSON.parse(JSON.stringify(path)); const obj = JSON.parse(JSON.stringify(path));

View File

@ -264,16 +264,14 @@
return Fw.device.api.openWXMiniProgram({ return Fw.device.api.openWXMiniProgram({
programID: "gh_07fecf7a6d31", programID: "gh_07fecf7a6d31",
path: `pages/index/index?order_number=${res.data.order_number}`, 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
}) })
}) })
} }
// 手机银行--唤起微信小程序 // 手机银行--唤起微信小程序
alert(1)
if (ua.indexOf("Source/YOUBankApp/psbc") > -1) { if (ua.indexOf("Source/YOUBankApp/psbc") > -1) {
alert(ua, 11)
this.loading = false; this.loading = false;
function upWXSmallProgramYouBank(){ function upWXSmallProgramYouBank(){
function objectToQueryString(path) { function objectToQueryString(path) {

View File

@ -531,14 +531,13 @@
Fw.device.api.openWXMiniProgram({ Fw.device.api.openWXMiniProgram({
programID: "gh_07fecf7a6d31", programID: "gh_07fecf7a6d31",
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`, 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,
token: this.token, token: this.token,
}) })
}) })
} else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) { } else if (ua.indexOf("Source/YOUBankApp/psbc") > -1) {
alert(ua, 22)
function upWXSmallProgramYouBank(){ function upWXSmallProgramYouBank(){
function objectToQueryString(path) { function objectToQueryString(path) {
const obj = JSON.parse(JSON.stringify(path)); const obj = JSON.parse(JSON.stringify(path));