参数问题
This commit is contained in:
parent
3b48a825d1
commit
cc7d0795da
|
@ -550,7 +550,8 @@
|
|||
} else {
|
||||
/* 小程序 */
|
||||
let ua = navigator.userAgent; //判断用户打开链接环境
|
||||
if (ua.indexOf("CreditCardAppNew") > -1 || ua.indexOf("CreditCardAppNew UnionPay/1.0") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
||||
let plan_id = localStorage.getItem('plan_id');
|
||||
if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
||||
Fw.device.api.openWXMiniProgram({
|
||||
programID: "gh_07fecf7a6d31",
|
||||
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
|
||||
|
|
|
@ -154,6 +154,7 @@
|
|||
localStorage.setItem('product_list', JSON.stringify(res.data[this.typeList[res.data.page]].product_list));
|
||||
localStorage.setItem('product_detail', JSON.stringify(res.data[this.typeList[res.data.page]].product_detail));
|
||||
localStorage.setItem('test', window.location.href);
|
||||
localStorage.setItem('plan_id', res.data.plan_id);
|
||||
self.loading = false;
|
||||
localStorage.setItem('linkId', linkId);
|
||||
//是否携带token
|
||||
|
|
|
@ -569,8 +569,8 @@
|
|||
if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
||||
Fw.device.api.openWXMiniProgram({
|
||||
programID: "gh_07fecf7a6d31",
|
||||
path: "pages/index/index",
|
||||
// miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
||||
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
|
||||
miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
||||
extJson: JSON.stringify({
|
||||
code_batch_id: this.code_batch_id,
|
||||
token: this.token,
|
||||
|
|
|
@ -265,8 +265,8 @@
|
|||
if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
||||
return Fw.device.api.openWXMiniProgram({
|
||||
programID: "gh_07fecf7a6d31",
|
||||
path: "pages/index/index",
|
||||
// miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
||||
path: `pages/index/index?order_number=${res.data.order_number}`,
|
||||
miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
||||
extJson: JSON.stringify({
|
||||
order_number: res.data.order_number
|
||||
})
|
||||
|
|
|
@ -548,8 +548,8 @@
|
|||
if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
||||
Fw.device.api.openWXMiniProgram({
|
||||
programID: "gh_07fecf7a6d31",
|
||||
path: "pages/index/index",
|
||||
// miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
||||
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
|
||||
miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
||||
extJson: JSON.stringify({
|
||||
code_batch_id: this.code_batch_id,
|
||||
token: this.token,
|
||||
|
|
|
@ -259,7 +259,9 @@
|
|||
if (self.plaflam == 2) {
|
||||
// 邮储-唤起微信小程序
|
||||
let ua = navigator.userAgent; //判断用户打开链接环境
|
||||
if (ua.indexOf("CreditCardAppNew") > -1 || ua.indexOf("CreditCardAppNew UnionPay/1.0") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
||||
let plan_id = localStorage.getItem('plan_id');
|
||||
alert(plan_id)
|
||||
if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
||||
this.loading = false;
|
||||
return Fw.device.api.openWXMiniProgram({
|
||||
programID: "gh_07fecf7a6d31",
|
||||
|
|
|
@ -527,6 +527,8 @@
|
|||
} else {
|
||||
/* 小程序 */
|
||||
let ua = navigator.userAgent; //判断用户打开链接环境
|
||||
let plan_id = localStorage.getItem('plan_id');
|
||||
alert(plan_id)
|
||||
if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
||||
Fw.device.api.openWXMiniProgram({
|
||||
programID: "gh_07fecf7a6d31",
|
||||
|
|
|
@ -266,11 +266,12 @@
|
|||
// 第二步:其它环境 微信小程序
|
||||
this.loading = false;
|
||||
let ua = navigator.userAgent; //判断用户打开链接环境
|
||||
let plan_id = localStorage.getItem('plan_id');
|
||||
if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
||||
Fw.device.api.openWXMiniProgram({
|
||||
programID: "gh_07fecf7a6d31",
|
||||
path: "pages/index/index",
|
||||
// miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
||||
path: `pages/index/index?order_number=${res.data.order_number}`,
|
||||
miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
||||
extJson: JSON.stringify({
|
||||
order_number: res.data.order_number
|
||||
})
|
||||
|
|
|
@ -520,8 +520,8 @@
|
|||
if (ua.indexOf("CreditCardAppNew") > -1) { // 正式z 用 CreditCardAppNew UnionPay/1.0
|
||||
Fw.device.api.openWXMiniProgram({
|
||||
programID: "gh_07fecf7a6d31",
|
||||
path: "pages/index/index",
|
||||
// miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
||||
path: `pages/index/index?code_batch_id=${this.code_batch_id}&token=${this.token}`,
|
||||
miniType: 2, // 1 开发版 2 体验版 // 正式z 删除
|
||||
extJson: JSON.stringify({
|
||||
code_batch_id: this.code_batch_id,
|
||||
token: this.token,
|
||||
|
|
Loading…
Reference in New Issue