Kaynağa Gözat

isPay问题

yxb
DESKTOP-2IO5MST\huting 1 yıl önce
ebeveyn
işleme
16b1e392be

+ 1
- 1
subpackage/after-sale/empty.vue Dosyayı Görüntüle

@@ -20,7 +20,7 @@
state.isPay = option.isPay;
state.token = option.token;
state.openId = option.openId;
console.log("option11111", option)
console.log("option1111111111", option)
if (state.isPay == "1") {
// 为1时跳转到2小程序支付
my.navigateToMiniProgram({

+ 1
- 21
subpackage/orders/payment/payment.vue Dosyayı Görüntüle

@@ -109,17 +109,10 @@
};
request(checkOrderStatus, optionsaliquery).then((res) => {
console.log('支付结果查询:', res)
// 支付完成跳转到h5
// const param = `https://qtzl.etcjz.cn/order/#/pages/payment/payment?qdOrderNo=${state.qdOrderNo}&type=3`
// const params = encodeURIComponent(JSON.stringify(param))
// console.log('支付结果查询params', params)
// uni.navigateTo({
// url: `/subpackage/personal-center/webview?url=` + params
// })
if (state.isPay == "1") {
my.navigateToMiniProgram({
appId: '2021004102619032', // 16 位
path: `/subpackage/after-sale/empty?qdOrderNo=${state.qdOrderNo}&type=3&orderId=${state.orderId}isPay=2`,
path: `/subpackage/after-sale/empty?qdOrderNo=${state.qdOrderNo}&type=3&orderId=${state.orderId}&isPay=2`,
query: {
a: 'foo',
b: 'bar',
@@ -137,19 +130,6 @@
}
});
}

// my.navigateBackMiniProgram({
// extraData: {
// 'qdOrderNo': state.qdOrderNo,
// 'type': 3
// },
// success: (res) => {
// console.log(res)
// },
// fail: (err) => {
// console.log(err)
// }
// });
})
},
fail: res => {

Loading…
İptal
Kaydet