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 |  119 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 113 insertions(+), 6 deletions(-)

diff --git a/src/api/shuohuang.ts b/src/api/shuohuang.ts
index b6a83fe..4e284cc 100644
--- a/src/api/shuohuang.ts
+++ b/src/api/shuohuang.ts
@@ -24,15 +24,21 @@
     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
   })
 export const getRelatedVideoInfo = (query: any) =>
   request({
     url: '/data/api-c/lkg/getRelatedVideo',
+    method: 'get',
+    params: query
+  })
+export const getCarVideos = (query: any) =>
+  request({
+    url: '/data/api-c/lkg/getCarVideos',
     method: 'get',
     params: query
   })
@@ -65,7 +71,8 @@
     method: 'post',
     params: query
   })
-  export const addMember = (data:any) => request({
+export const addMember = (data: any) =>
+  request({
     url: '/data/api-c/user/add',
     method: 'post',
     data
@@ -76,8 +83,108 @@
     method: 'post',
     data
   })
-export const uploadMemberPic = (data:any) => request({
-  url:'/data/api-c/user/upload',
-  method:'post',
+export const uploadMemberPic = (data: any) =>
+  request({
+    url: '/data/api-c/user/upload',
+    method: 'post',
+    data
+  })
+export const getMemberByOrg = (query: any) =>
+  request({
+    url: '/data/api-c/user/getUserByDeptID',
+    method: 'get',
+    params: query
+  })
+export const getVideoListBySearch = (query: any) =>
+  request({
+    url: '/data/api-c/lkg/getlstBySearch',
+    method: 'get',
+    params: query
+  })
+export const addToAssignList = (data: any) =>
+  request({
+    url: '/data/api-c/lkg/assignMission',
+    method: 'post',
+    data
+  })
+export const getTaskList = (query: any) =>
+  request({
+    url: '/data/api-c/lkg/getTaskList',
+    method: 'get',
+    params: query
+  })
+export const distributeTask = (data: any) =>
+  request({
+    url: '/data/api-c/lkg/assignMissionEnd',
+    method: 'post',
+    data
+  })
+export const cancelMission = (data: any) =>
+  request({
+    url: '/data/api-c/lkg/cancelMission',
+    method: 'post',
+    data
+  })
+export const uploadDirectory = (data: any) =>
+  request({
+    url: '/data/api-c/user/uploadMulti',
+    method: 'post',
+    data
+  })
+
+export const getTransferRecord = (query: any) => request({
+  url: '/data/api-c/saverecord/getlst',
+  method: 'get',
+  params: query
+})
+
+export const getTransferStatusList = () => request({
+  url: '/data/api-c/saverecord/getStatusList',
+  method: 'get'
+})
+export const addDevice = (data: any) => request({
+  url: '/data/api-c/device/add',
+  method: 'post',
   data
+})
+export const getDeviceList = () => request({
+  url: '/data/api-c/device/getlst',
+  method: 'get'
+})
+export const getDeviceInfoById = (query: any) => request({
+  url: '/data/api-c/slot/getlst',
+  method: 'get',
+  params: query
+})
+
+export const uploadLKG = (data: any) =>
+  request({
+    url: '/data/api-c/lkg/uploadLKGExcel',
+    method: 'post',
+    data
+  })
+
+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