From b036dae92aeed291930f0efd8cf276499ebfb882 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期五, 25 六月 2021 19:03:22 +0800
Subject: [PATCH] 修复用户权限获取方式错误的bug

---
 src/api/shuohuang.ts |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/src/api/shuohuang.ts b/src/api/shuohuang.ts
index accdfee..7fa5d49 100644
--- a/src/api/shuohuang.ts
+++ b/src/api/shuohuang.ts
@@ -1,4 +1,6 @@
 import request from '@/scripts/httpRequest'
+import qs from "qs";
+
 
 //鍒濆鍖栨煡璇�
 export const getlstInit = (query: any) =>
@@ -24,11 +26,11 @@
     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
+    data: qs.stringify(data)
   })
 export const getRelatedVideoInfo = (query: any) =>
   request({
@@ -187,4 +189,9 @@
   url: '/data/api-c/event/getEventVideo',
   method: 'get',
   params: query
+})
+
+export const downloadFile = () => request({
+  url: '/data/api-c/event/getEventVideo',
+  method: 'get',
 })
\ No newline at end of file

--
Gitblit v1.8.0