|
|
@@ -187,7 +187,6 @@ export default {
|
|
|
vip: this.$store.state.userInfo.vipPurchase > 0 ? true : false
|
|
|
};
|
|
|
params.sign = encryptUtil.encrypt(qs.stringify({ ...params, ts: new Date().getTime() }));
|
|
|
- console.log('ahagadg', typeof this.collectionIds);
|
|
|
return this.$http.post('/order/mqCreate', params).then(res => {
|
|
|
return new Promise((resolve, reject) => {
|
|
|
let checkOrder = () => {
|
|
|
@@ -265,13 +264,13 @@ export default {
|
|
|
this.$toast(e.error || '购买失败');
|
|
|
this.payName = '1';
|
|
|
});
|
|
|
- } else if (this.payType == 'ALIPAY') {
|
|
|
+ } else if (this.payType == 'ALI') {
|
|
|
this.$toast.loading({
|
|
|
message: '支付中',
|
|
|
forbidClick: true
|
|
|
});
|
|
|
this.$http
|
|
|
- .get('/payOrder/v2/alipay', { id: this.id })
|
|
|
+ .get('/payOrder/v2/ali', { id: this.id })
|
|
|
.then(res => {
|
|
|
this.$toast.clear();
|
|
|
document.location.href = res;
|