From a24ca741c5fcf4cd05e51e083a62eb4e68eeaa6e Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@iotlink.com>
Date: 星期一, 01 二月 2021 11:00:20 +0800
Subject: [PATCH] 完善bhomebus 的 api 接口

---
 src/api/localVedio.ts |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/src/api/localVedio.ts b/src/api/localVedio.ts
index cdea3a4..540bc18 100644
--- a/src/api/localVedio.ts
+++ b/src/api/localVedio.ts
@@ -74,8 +74,9 @@
 
 export const getDirDetails = (id: string) => {
   return request({
-    url: "/data/api-v/fileStack/show/" + id,
-    method: "get"
+    url: "/data/api-v/fileStack/show",
+    method: "get",
+    params: { id: id }
   });
 };
 
@@ -89,8 +90,9 @@
 
 export const delDir = (id: string) => {
   return request({
-    url: "/data/api-v/fileStack/delete/" + id,
-    method: "delete"
+    url: "/data/api-v/fileStack/delete",
+    method: "delete",
+    params: { id: id }
   });
 };
 

--
Gitblit v1.8.0