diff --git a/api/video/index.js b/api/video/index.js index 79a0dcc..51d4b66 100644 --- a/api/video/index.js +++ b/api/video/index.js @@ -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 8096ade..af1112f 100644 --- a/components/my-video-list/list-item.vue +++ b/components/my-video-list/list-item.vue @@ -2,6 +2,7 @@