From df715f924d48286b27bb5bb63de0dca865afef74 Mon Sep 17 00:00:00 2001 From: junleea <354425203@qq.com> Date: Tue, 25 Jun 2024 19:31:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=92=A4=E9=94=80=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/video.js | 8 ++++++++ src/views/VideoList.vue | 17 ++++++++++++++++- 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/src/api/video.js b/src/api/video.js index d9b44cd..a310c04 100644 --- a/src/api/video.js +++ b/src/api/video.js @@ -15,6 +15,14 @@ export const delayVideoService = (data) => { return request.post('/video/delay', params, { headers : {'token': data.token }}); } +export const quashVideoService = (data) => { + const params = new URLSearchParams(); + for (let key in data) { + params.append(key, data[key]) + } + return request.post('/video/quash_option', params, { headers : {'token': data.token }}); +} + export const getVideoListService = (data) => { const params = new URLSearchParams(); let hour = data['hour']; diff --git a/src/views/VideoList.vue b/src/views/VideoList.vue index bdc22a4..87e5233 100644 --- a/src/views/VideoList.vue +++ b/src/views/VideoList.vue @@ -1,7 +1,7 @@