Commit 372ebd84 authored by 黄奎's avatar 黄奎

1

parent 3422f301
This diff is collapsed.
...@@ -849,18 +849,23 @@ ...@@ -849,18 +849,23 @@
(res) => { (res) => {
if (res.resultCode == 1) { if (res.resultCode == 1) {
uni.showToast({ uni.showToast({
title: '订单创建成功,正在拉取微信支付', title: '订单创建成功.',
icon: 'none' icon: 'none'
}) })
let data = res.data; uni.redirectTo({
data.CoverImg = this.currentPriceInfo.CoverImg; url: "/pages/jiuzhai/jz_MyOrder",
let myData = JSON.stringify(data); });
this.orderData = encodeURIComponent(myData); // let data = res.data;
// data.CoverImg = this.currentPriceInfo.CoverImg;
// let myData = JSON.stringify(data);
// this.orderData = encodeURIComponent(myData);
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
this.queren(data.OrderId); // 去掉支付
//this.queren(data.OrderId);
// #endif // #endif
// #ifdef MP-ALIPAY // #ifdef MP-ALIPAY
this.querenAli(data); //去掉支付
//this.querenAli(data);
// #endif // #endif
} else {} } else {}
this.submit = false; this.submit = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment