diff --git a/api/video/index.js b/api/video/index.js index 4bc7fd2..51d4b66 100644 --- a/api/video/index.js +++ b/api/video/index.js @@ -25,7 +25,7 @@ export function dianzan(data) { url: 'courseCollect/insertCourseCollect', method:'POST', data:{ - classify:3, + classify:2, ...data } }) @@ -118,4 +118,13 @@ export function getDrawCount(data){ method:'GET', data }) +} + +//播放开始或者结束 +export function playStatus(data){ + return http.request({ + url: 'course/viewCourse', + method:'GET', + data + }) } \ No newline at end of file diff --git a/components/my-video-list/list-item.vue b/components/my-video-list/list-item.vue index 8d7abd4..2c7a6b1 100644 --- a/components/my-video-list/list-item.vue +++ b/components/my-video-list/list-item.vue @@ -2,6 +2,7 @@ @@ -53,6 +54,7 @@