From acf20d8f71206dcc93923655808964511ae80827 Mon Sep 17 00:00:00 2001 From: YeMingfei666 <1619116647@qq.com> Date: Tue, 14 Jan 2025 10:50:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E8=A7=86=E9=A2=91=E6=92=AD?= =?UTF-8?q?=E6=94=BE=E5=BC=80=E5=A7=8B=E5=92=8C=E7=BB=93=E6=9D=9F=E8=AF=B7?= =?UTF-8?q?=E6=B1=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/video/index.js | 9 ++++++ components/my-video-list/list-item.vue | 41 +++++++++++++++++++++++++- 2 files changed, 49 insertions(+), 1 deletion(-) 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 @@