增加全剧解锁和10集解锁
This commit is contained in:
@@ -1052,10 +1052,10 @@
|
||||
courseId: this.courseId
|
||||
}
|
||||
if(!num){
|
||||
console.log('进入num');
|
||||
//单集解锁
|
||||
data.courseDetailsId = this.videoList[this.current].courseDetailsId
|
||||
}
|
||||
data.courseDetailsId = this.videoList[this.current].courseDetailsId
|
||||
httpsRequest.getT((num && num == 10)?'/app/order/insertCourseOrders/limit10': '/app/order/insertCourseOrders', data).then(res => {
|
||||
if (res.code == 0) {
|
||||
this.ordersId = res.data.orders.ordersId //记录订单id
|
||||
|
||||
@@ -202,7 +202,7 @@
|
||||
<view class="list-item" v-if="info&&info.price">
|
||||
<view class="list-item-box flex align-center justify-center" @click="payVideo(2,'all')">
|
||||
<image src="../../static/images/me/rmIcon.png" mode=""></image>
|
||||
{{info.price}}元解锁10集视频
|
||||
{{info.price}}元解锁全剧
|
||||
</view>
|
||||
</view>
|
||||
<view class="list-item" v-if="info&&info.wholesalePrice">
|
||||
|
||||
Reference in New Issue
Block a user