diff --git a/pages/video/video.nvue b/pages/video/video.nvue index eade91c..e7ecc88 100644 --- a/pages/video/video.nvue +++ b/pages/video/video.nvue @@ -392,7 +392,7 @@ let data = { page: this.page, limit: this.limit, - token: uni.getStorageSync('token') ? uni.getStorageSync('token') : '', + token: uni.getStorageSync('token') ? uni.getStorageSync('token') : '1', randomNum: this.randomNum }; httpsRequest.getT('/app/course/selectCourseDetailsList', data).then(res => { diff --git a/pages/video/video.vue b/pages/video/video.vue index f016c80..0b84359 100644 --- a/pages/video/video.vue +++ b/pages/video/video.vue @@ -528,13 +528,13 @@ if (e.detail.currentTime > e.detail.duration * 0.9) { if (this.playFlag) { this.playFlag = false - this.$Request.getT('/app/course/viewCourse', { - courseId: this.courseId, - courseDetailsId: this.courseDetailsId, - type: 'end' - }).then(res => { - console.log('播放结束') - }) + // this.$Request.getT('/app/course/viewCourse', { + // courseId: this.courseId, + // courseDetailsId: this.courseDetailsId, + // type: 'end' + // }).then(res => { + // console.log('播放结束') + // }) } } }, @@ -775,7 +775,7 @@ classify: 3, type: 1 } - this.$Request.postJson('/app/courseCollect/insertCourseCollect', data).then(res => {}) + // this.$Request.postJson('/app/courseCollect/insertCourseCollect', data).then(res => {}) }, //swiper上下切换事件 change(e) { @@ -916,14 +916,14 @@ }, //在播放时候的回调 videoPlay(videoId) { - this.$Request.getT('/app/course/viewCourse', { - courseId: this.courseId, - courseDetailsId: this.courseDetailsId, - type: 'start' - }).then(res => { + // this.$Request.getT('/app/course/viewCourse', { + // courseId: this.courseId, + // courseDetailsId: this.courseDetailsId, + // type: 'start' + // }).then(res => { this.playFlag = true - console.log('播放开始') - }) + // console.log('播放开始') + // }) }, //监听视频播放完成 ended() {