增加全剧解锁和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
|
||||
|
||||
Reference in New Issue
Block a user