From 6eeb711d2fb25e864b764e6433deac69e8cea3cd Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期一, 25 十一月 2024 10:33:58 +0800
Subject: [PATCH] update 优化 增加默认数据权限 "部门及以下或本人数据权限" 选项

---
 src/api/monitor/online/index.ts |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/api/monitor/online/index.ts b/src/api/monitor/online/index.ts
index 7484702..5b3221c 100644
--- a/src/api/monitor/online/index.ts
+++ b/src/api/monitor/online/index.ts
@@ -30,7 +30,7 @@
 // 鍒犻櫎褰撳墠鍦ㄧ嚎璁惧
 export function delOnline(tokenId: string) {
   return request({
-    url: '/monitor/online/' + tokenId,
-    method: 'post'
+    url: '/monitor/online/myself/' + tokenId,
+    method: 'delete'
   });
 }

--
Gitblit v1.9.3