|
|
@@ -311,24 +311,24 @@ export default {
|
|
|
number: number,
|
|
|
product_id: item.id,
|
|
|
};
|
|
|
- if (this.deviceType === "ios") {
|
|
|
- // alert('ios begin pay..');
|
|
|
- let cookie = this.getSign();
|
|
|
- let res = await this.$axios.$post("/api/vip/pay", {
|
|
|
- product_type: 11,
|
|
|
- number: number,
|
|
|
- product_id: item.id,
|
|
|
- channel: "apple",
|
|
|
- needLogin: true,
|
|
|
- ...cookie,
|
|
|
- });
|
|
|
- if (res && res.data) {
|
|
|
- query = Object.assign({}, query, res.data);
|
|
|
- location.href = "proginn://pay?" + qs.stringify(query);
|
|
|
- }
|
|
|
- } else {
|
|
|
- location.href = "proginn://pay?" + qs.stringify(query);
|
|
|
- }
|
|
|
+ // if (this.deviceType === "ios") {
|
|
|
+ // // alert('ios begin pay..');
|
|
|
+ // let cookie = this.getSign();
|
|
|
+ // let res = await this.$axios.$post("/api/vip/pay", {
|
|
|
+ // product_type: 11,
|
|
|
+ // number: number,
|
|
|
+ // product_id: item.id,
|
|
|
+ // channel: "apple",
|
|
|
+ // needLogin: true,
|
|
|
+ // ...cookie
|
|
|
+ // });
|
|
|
+ // if (res && res.data) {
|
|
|
+ // query = Object.assign({}, query, res.data);
|
|
|
+ // location.href = "proginn://pay?" + qs.stringify(query);
|
|
|
+ // }
|
|
|
+ // } else {
|
|
|
+ location.href = "proginn://pay?" + qs.stringify(query);
|
|
|
+ // }
|
|
|
},
|
|
|
/**
|
|
|
* 手指右划
|