|
@@ -1,7 +1,7 @@ |
|
|
<!-- |
|
|
<!-- |
|
|
* @Date: 2022-03-29 16:57:58 |
|
|
* @Date: 2022-03-29 16:57:58 |
|
|
* @LastEditors: JinxChen |
|
|
* @LastEditors: JinxChen |
|
|
* @LastEditTime: 2023-02-28 16:44:15 |
|
|
|
|
|
|
|
|
* @LastEditTime: 2023-02-28 17:33:41 |
|
|
* @FilePath: \TelpoH5FrontendWeb\src\views\package-list\index.vue |
|
|
* @FilePath: \TelpoH5FrontendWeb\src\views\package-list\index.vue |
|
|
* @description: TODO 小台风充值h5 |
|
|
* @description: TODO 小台风充值h5 |
|
|
--> |
|
|
--> |
|
@@ -361,7 +361,7 @@ export default { |
|
|
// 需要区分是要用微信支付还是支付宝花呗支付 |
|
|
// 需要区分是要用微信支付还是支付宝花呗支付 |
|
|
if (this.payType === '2') { |
|
|
if (this.payType === '2') { |
|
|
this.payProductId = process.env.NODE_ENV === "production" ? '1629407413618294784' : '1629405716684029952', //支付宝全额支付 |
|
|
this.payProductId = process.env.NODE_ENV === "production" ? '1629407413618294784' : '1629405716684029952', //支付宝全额支付 |
|
|
this.packageIssue = 1; |
|
|
|
|
|
|
|
|
this.packageIssue = 0; |
|
|
this.aliPay(data); |
|
|
this.aliPay(data); |
|
|
} else if (this.payType === '3') { |
|
|
} else if (this.payType === '3') { |
|
|
this.payProductId = process.env.NODE_ENV === "production" ? '1629407705558630400': '1629405558344859648', //支付宝花呗支付 |
|
|
this.payProductId = process.env.NODE_ENV === "production" ? '1629407705558630400': '1629405558344859648', //支付宝花呗支付 |
|
@@ -412,6 +412,10 @@ export default { |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
this.wxPay(orderData); |
|
|
this.wxPay(orderData); |
|
|
}, 1000); |
|
|
}, 1000); |
|
|
|
|
|
} else if (res.data.code === 104) { |
|
|
|
|
|
this.$dialog.confirm({ |
|
|
|
|
|
message: `${res.data.message}` |
|
|
|
|
|
}) |
|
|
} |
|
|
} |
|
|
let that = this; |
|
|
let that = this; |
|
|
let wxData = res.data.data; |
|
|
let wxData = res.data.data; |
|
|