Commit 1cee6b54 authored by jyx's avatar jyx

放开ios支付

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