Commit 6bd5d396 authored by jyx's avatar jyx

代码优化

parent 5dbc1d29
......@@ -197,7 +197,7 @@
common.methods.post({
url: '/vip/getVipProducts/point',
data: {
vedioId: that.point <= 0 ? null : that.albumId
albumId: that.point <= 0 ? null : that.albumId
},
showLoading: false,
success: ({
......@@ -241,7 +241,7 @@
common.methods.post({
url: '/vip/getVipPayParams/douyin',
data: {
vedioId: that.point <= 0 ? null : that.albumId,
albumId: that.point <= 0 ? null : that.albumId,
os: that.os,
pid: vipBean.pid
},
......@@ -255,7 +255,7 @@
},
onVip() {
tt.navigateTo({
url: `/pagesA/vipPay/vipPay?vedioId=` + this.vedioId
url: `/pagesA/vipPay/vipPay?albumId=` + this.albumId
})
this.handleClose();
},
......
......@@ -149,14 +149,14 @@
selectedVipIndex: -1,
btnText: '',
slotParam: '',
vedioId: '',
albumId: '',
userBean: {},
os: 'android',
showKefuPop: false
}
},
onLoad(options) {
this.vedioId = options.vedioId
this.albumId = options.albumId
let that = this;
if (tt.getSystemInfoSync().platform === 'ios') {
this.os = 'ios';
......@@ -385,7 +385,7 @@
this.post({
url: '/vip/getVipPayParams/douyin',
data: {
vedioId: that.point <= 0 ? null : that.vedioId,
albumId: that.point <= 0 ? null : that.albumId,
os: that.os,
pid: vipBean.pid
},
......
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