diff --git a/reduce.html b/reduce.html index b288d7c..26a97b9 100644 --- a/reduce.html +++ b/reduce.html @@ -259,19 +259,20 @@ if (self.plaflam == 2) { // 邮储-唤起微信小程序 let ua = navigator.userAgent; //判断用户打开链接环境 - alert(8) + alert(9) if (ua.indexOf("CreditCardAppNew") > -1) { - alert(8) - window.open("weixin://dl/business/?t=qFSkO5EQyFh") - // return Fw.device.api.openWXMiniProgram({ - // programID: "wx9ed74283ad25bca1", - // path: "pages/index/index", - // miniType: 2, // 1 开发版 2 体验版 - // // extJson: JSON.stringify({ - // // token: '', - // // order_number: res.data.order_number - // // }) - // }) + alert(9) + // window.open("weixin://dl/business/?t=qFSkO5EQyFh") + return Fw.device.api.openWXMiniProgram({ + id: "wx9ed74283ad25bca1", + path: "pages/index/index", + miniType: 2, // 1 开发版 2 体验版 + extJson: JSON.stringify({ + theme_id: 'market_voucher', + token: '', + order_number: res.data.order_number + }) + }) } //微信 // if (ua.indexOf("dingtalk") > -1) {