提交 f6dbc070 编写于 作者: guangjun.yang's avatar guangjun.yang

在站外,则调用站外支付

上级 7906e3a5
...@@ -147,6 +147,7 @@ export default { ...@@ -147,6 +147,7 @@ export default {
courseUrl: "", courseUrl: "",
defaultCouponId: "", defaultCouponId: "",
needSortAndSelect: true, needSortAndSelect: true,
orderId: "",
}; };
}, },
computed: { computed: {
...@@ -646,6 +647,7 @@ export default { ...@@ -646,6 +647,7 @@ export default {
.then(res => { .then(res => {
if (res.code == "000000") { if (res.code == "000000") {
const orderId = res.data.orderId; const orderId = res.data.orderId;
this.orderId = res.data.orderId;
// if (isWechat) { // if (isWechat) {
// this.goWxPayInner(orderId); // this.goWxPayInner(orderId);
// } else { // } else {
...@@ -653,7 +655,7 @@ export default { ...@@ -653,7 +655,7 @@ export default {
// } // }
// 在站外,则调用站外支付 // 在站外,则调用站外支付
console.log("this.isWeb ... isWechat - 2", this.isWeb, isWechat); console.log("this.isWeb ... isWechat - 2 this.orderId", this.isWeb, isWechat, this.orderId);
if (this.isWeb) { if (this.isWeb) {
console.log("in web..."); console.log("in web...");
if (isWechat) { if (isWechat) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册