From 62d7ce5aa9ed49c8f12b5b8a34004b9530c89d38 Mon Sep 17 00:00:00 2001
From: isme <1219353840@qq.com>
Date: Mon, 14 Dec 2020 14:38:31 +0800
Subject: [PATCH] 修复代码生成路径错误
---
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