From dbeded1c098d3b1ef94e851effd19b8e67cd1260 Mon Sep 17 00:00:00 2001
From: JuJu <857815116@qq.com>
Date: Mon, 14 Dec 2020 16:09:15 +0800
Subject: [PATCH] 修复导出时携带params空对象导致转换错误

---
 ruoyi-ui/src/api/monitor/online.js |   18 ++++++++++++++++++
 1 files changed, 18 insertions(+), 0 deletions(-)

diff --git a/ruoyi-ui/src/api/monitor/online.js b/ruoyi-ui/src/api/monitor/online.js
new file mode 100644
index 0000000..228fe3b
--- /dev/null
+++ b/ruoyi-ui/src/api/monitor/online.js
@@ -0,0 +1,18 @@
+import request from '@/utils/request'
+
+// 查询在线用户列表
+export function list(query) {
+  return request({
+    url: '/system/online/list',
+    method: 'get',
+    params: query
+  })
+}
+
+// 强退用户
+export function forceLogout(tokenId) {
+  return request({
+    url: '/system/online/' + tokenId,
+    method: 'delete'
+  })
+}

--
Gitblit v1.9.3