This commit is contained in:
lf 2024-07-24 10:20:49 +08:00
parent 75d119be38
commit 6177316c4f
1 changed files with 7 additions and 6 deletions

View File

@ -259,16 +259,17 @@
if (self.plaflam == 2) { if (self.plaflam == 2) {
// 邮储-唤起微信小程序 // 邮储-唤起微信小程序
let ua = navigator.userAgent; //判断用户打开链接环境 let ua = navigator.userAgent; //判断用户打开链接环境
alert(4) alert(5)
if (ua.indexOf("CreditCardAppNew") > -1) { if (ua.indexOf("CreditCardAppNew") > -1) {
alert(44) alert(5)
return Fw.device.api.openWXMiniProgram({ return Fw.device.api.openWXMiniProgram({
programID: "wx9ed74283ad25bca1", programID: "wx9ed74283ad25bca1",
path: res.data.redirect_url, path: "pages/index/index",
miniType: 2, // 1 开发版 2 体验版 miniType: 2, // 1 开发版 2 体验版
// extJson: JSON.stringify({ extJson: JSON.stringify({
// order_number: res.data.order_number token: '',
// }) order_number: res.data.order_number
})
}) })
} }
//微信 //微信