From 327edd8bcb1c109a73491fff0129281fd22c0f2a Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期五, 25 六月 2021 14:48:03 +0800
Subject: [PATCH] 修改postform方式

---
 src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue |    2 +-
 src/api/shuohuang.ts                                                   |    4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/api/shuohuang.ts b/src/api/shuohuang.ts
index 4e284cc..3e689e5 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) =>
@@ -28,7 +30,7 @@
   request({
     url: '/data/api-c/lkg/updateFollow',
     method: 'post',
-    data
+    data: qs.stringify(data)
   })
 export const getRelatedVideoInfo = (query: any) =>
   request({
diff --git a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
index 19aed0e..0b5985e 100644
--- a/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
+++ b/src/pages/shuohuangMonitorAnalyze/components/searchForVideoAnalyze.vue
@@ -694,7 +694,7 @@
       }).then((res) => {
         this.$notify({
           type: "success",
-          message: "宸叉坊鍔犲叧娉�!",
+          message:  data.IsFollow == "0"? "宸叉坊鍔犲叧娉�!":"宸插彇娑堝叧娉�!",
         });
       });
     },

--
Gitblit v1.8.0