From ba1b4ed726f84ad45a52c355510ab2cc55356de0 Mon Sep 17 00:00:00 2001 From: heyujie <516346543@qq.com> Date: 星期五, 25 六月 2021 14:28:51 +0800 Subject: [PATCH] 根据id找是否关注 --- src/api/shuohuang.ts | 36 ++++++++++++++++++++++++++++-------- 1 files changed, 28 insertions(+), 8 deletions(-) diff --git a/src/api/shuohuang.ts b/src/api/shuohuang.ts index 869ca98..4e284cc 100644 --- a/src/api/shuohuang.ts +++ b/src/api/shuohuang.ts @@ -24,9 +24,9 @@ method: 'get' }) -export const updateVideoAnalyze = (data: any) => +export const updateFollow = (data: any) => request({ - url: '/data/api-c/lkg/update', + url: '/data/api-c/lkg/updateFollow', method: 'post', data }) @@ -156,15 +156,35 @@ method: 'get', params: query }) -export const getEventVideo = (query: any) => request({ - url: '/data/api-c/lkg/getEventClip', - method: 'get', - params: query -}) export const uploadLKG = (data: any) => request({ url: '/data/api-c/lkg/uploadLKGExcel', method: 'post', data - }) \ No newline at end of file + }) + +export const getLKGData = () => + request({ + url: '/data/api-c/lkg/getLKGData', + method: 'get', + }) + +export const delLKGData = (query: any) => + request({ + url: '/data/api-c/lkg/delLKGData', + method: 'get', + params: query + }) + +export const getEventVideo = (query: any) => request({ + url: '/data/api-c/event/getEventClip', + method: 'get', + params: query +}) + +export const getVideoUrl = (query: any) => request({ + url: '/data/api-c/event/getEventVideo', + method: 'get', + params: query +}) \ No newline at end of file -- Gitblit v1.8.0