This commit is contained in:
lf 2024-07-24 10:51:18 +08:00
parent 7c17a62aab
commit 05205848a6
1 changed files with 12 additions and 11 deletions

View File

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