Newer
Older
Nanping_sponge / src / api / monitor / online.js
@liyingjing liyingjing on 25 Oct 2023 338 bytes 南平登录模块
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",
  });
}