Commit 1cee6b54 authored by jyx's avatar jyx

放开ios支付

parent e409bc2a
...@@ -109,7 +109,6 @@ ...@@ -109,7 +109,6 @@
selectedIndex: 0, selectedIndex: 0,
agreeFlag: false, agreeFlag: false,
userBean: {}, userBean: {},
os: 'android',
titleText: '超多精彩小说一键解锁', titleText: '超多精彩小说一键解锁',
showClone: false showClone: false
}; };
...@@ -131,10 +130,6 @@ ...@@ -131,10 +130,6 @@
this.backvipBean = null; this.backvipBean = null;
} }
if (ks.getSystemInfoSync().platform === 'ios') {
this.os = 'ios';
}
this.post({ this.post({
url: '/vip/getVipProductsV1', url: '/vip/getVipProductsV1',
data: { data: {
...@@ -199,11 +194,6 @@ ...@@ -199,11 +194,6 @@
this.handlePay(); this.handlePay();
}, },
handlePay() { handlePay() {
if (this.os == 'ios') {
message.notify('iOS暂不支持购买');
return
}
let that = this; let that = this;
let vipBean = this.vipList[this.selectedIndex]; let vipBean = this.vipList[this.selectedIndex];
...@@ -225,9 +215,9 @@ ...@@ -225,9 +215,9 @@
ksPay(ksData, largeType) { ksPay(ksData, largeType) {
let that = this; let that = this;
ks.pay({ ks.pay({
serviceId: ksData.params.serviceId, serviceId: '1',
orderInfo: ksData.params.orderInfo, orderInfo: ksData.params,
paymentChannel: ksData.params.paymentChannel, // paymentChannel: ksData.params.paymentChannel,
success() { success() {
that.queryOrderStatus(largeType, ksData.tidStr) that.queryOrderStatus(largeType, ksData.tidStr)
}, },
......
...@@ -54,7 +54,6 @@ ...@@ -54,7 +54,6 @@
}, },
data() { data() {
return { return {
os: 'android',
vipBean2: {} vipBean2: {}
}; };
}, },
...@@ -75,16 +74,8 @@ ...@@ -75,16 +74,8 @@
showdialog() { showdialog() {
this.$refs.vipback.open(); this.$refs.vipback.open();
console.log('vipback-', this.vipBean); console.log('vipback-', this.vipBean);
if (ks.getSystemInfoSync().platform === 'ios') {
this.os = 'ios';
}
}, },
handlePay() { handlePay() {
if (this.os == 'ios') {
message.notify('iOS暂不支持购买');
return
}
let that = this; let that = this;
// 快手支付 // 快手支付
......
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