diff --git a/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/cache/index.ts b/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/cache/index.ts deleted file mode 100644 index e45d6fb..0000000 --- a/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/cache/index.ts +++ /dev/null @@ -1,59 +0,0 @@ -import request from '@/utils/request'; -import { AxiosPromise } from 'axios'; -import { CacheVO } from './types'; - -// 查询缓存详细 -export function getCache(): AxiosPromise { - return request({ - url: '/monitor/cache', - method: 'get' - }); -} - -// 查询缓存名称列表 -export function listCacheName() { - return request({ - url: '/monitor/cache/getNames', - method: 'get' - }); -} - -// 查询缓存键名列表 -export function listCacheKey(cacheName: string) { - return request({ - url: '/monitor/cache/getKeys/' + cacheName, - method: 'get' - }); -} - -// 查询缓存内容 -export function getCacheValue(cacheName: string, cacheKey: string) { - return request({ - url: '/monitor/cache/getValue/' + cacheName + '/' + cacheKey, - method: 'get' - }); -} - -// 清理指定名称缓存 -export function clearCacheName(cacheName: string) { - return request({ - url: '/monitor/cache/clearCacheName/' + cacheName, - method: 'delete' - }); -} - -// 清理指定键名缓存 -export function clearCacheKey(cacheName: string, cacheKey: string) { - return request({ - url: '/monitor/cache/clearCacheKey/' + cacheName + '/' + cacheKey, - method: 'delete' - }); -} - -// 清理全部缓存 -export function clearCacheAll() { - return request({ - url: '/monitor/cache/clearCacheAll', - method: 'delete' - }); -} diff --git a/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/cache/types.ts b/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/cache/types.ts deleted file mode 100644 index 4017b65..0000000 --- a/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/cache/types.ts +++ /dev/null @@ -1,7 +0,0 @@ -export interface CacheVO { - commandStats: Array<{ name: string; value: string }>; - - dbSize: number; - - info: { [key: string]: string }; -} diff --git a/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/loginInfo/index.ts b/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/loginInfo/index.ts deleted file mode 100644 index f8877c9..0000000 --- a/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/loginInfo/index.ts +++ /dev/null @@ -1,36 +0,0 @@ -import request from '@/utils/request'; -import { LoginInfoQuery, LoginInfoVO } from './types'; -import { AxiosPromise } from 'axios'; - -// 查询登录日志列表 -export function list(query: LoginInfoQuery): AxiosPromise { - return request({ - url: '/monitor/logininfor/list', - method: 'get', - params: query - }); -} - -// 删除登录日志 -export function delLoginInfo(infoId: string | number | Array) { - return request({ - url: '/monitor/logininfor/' + infoId, - method: 'delete' - }); -} - -// 解锁用户登录状态 -export function unlockLoginInfo(userName: string | Array) { - return request({ - url: '/monitor/logininfor/unlock/' + userName, - method: 'get' - }); -} - -// 清空登录日志 -export function cleanLoginInfo() { - return request({ - url: '/monitor/logininfor/clean', - method: 'delete' - }); -} diff --git a/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/loginInfo/types.ts b/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/loginInfo/types.ts deleted file mode 100644 index 202c779..0000000 --- a/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/loginInfo/types.ts +++ /dev/null @@ -1,20 +0,0 @@ -export interface LoginInfoVO { - infoId: string | number; - tenantId: string | number; - userName: string; - status: string; - ipaddr: string; - loginLocation: string; - browser: string; - os: string; - msg: string; - loginTime: string; -} - -export interface LoginInfoQuery extends PageQuery { - ipaddr: string; - userName: string; - status: string; - orderByColumn: string; - isAsc: string; -} diff --git a/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/online/index.ts b/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/online/index.ts deleted file mode 100644 index 5b3221c..0000000 --- a/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/online/index.ts +++ /dev/null @@ -1,36 +0,0 @@ -import request from '@/utils/request'; -import { OnlineQuery, OnlineVO } from './types'; -import { AxiosPromise } from 'axios'; - -// 查询在线用户列表 -export function list(query: OnlineQuery): AxiosPromise { - return request({ - url: '/monitor/online/list', - method: 'get', - params: query - }); -} - -// 强退用户 -export function forceLogout(tokenId: string) { - return request({ - url: '/monitor/online/' + tokenId, - method: 'delete' - }); -} - -// 获取当前用户登录在线设备 -export function getOnline() { - return request({ - url: '/monitor/online', - method: 'get' - }); -} - -// 删除当前在线设备 -export function delOnline(tokenId: string) { - return request({ - url: '/monitor/online/myself/' + tokenId, - method: 'delete' - }); -} diff --git a/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/online/types.ts b/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/online/types.ts deleted file mode 100644 index 8c0ec27..0000000 --- a/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/online/types.ts +++ /dev/null @@ -1,15 +0,0 @@ -export interface OnlineQuery extends PageQuery { - ipaddr: string; - userName: string; -} - -export interface OnlineVO extends BaseEntity { - tokenId: string; - deptName: string; - userName: string; - ipaddr: string; - loginLocation: string; - browser: string; - os: string; - loginTime: number; -} diff --git a/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/operlog/index.ts b/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/operlog/index.ts deleted file mode 100644 index 7ac3453..0000000 --- a/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/operlog/index.ts +++ /dev/null @@ -1,28 +0,0 @@ -import request from '@/utils/request'; -import { OperLogQuery, OperLogVO } from './types'; -import { AxiosPromise } from 'axios'; - -// 查询操作日志列表 -export function list(query: OperLogQuery): AxiosPromise { - return request({ - url: '/monitor/operlog/list', - method: 'get', - params: query - }); -} - -// 删除操作日志 -export function delOperlog(operId: string | number | Array) { - return request({ - url: '/monitor/operlog/' + operId, - method: 'delete' - }); -} - -// 清空操作日志 -export function cleanOperlog() { - return request({ - url: '/monitor/operlog/clean', - method: 'delete' - }); -} diff --git a/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/operlog/types.ts b/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/operlog/types.ts deleted file mode 100644 index 10f65c7..0000000 --- a/zdxt-web-client/zdxt-admin-nos-plus-ui/src/api/monitor/operlog/types.ts +++ /dev/null @@ -1,53 +0,0 @@ -export interface OperLogQuery extends PageQuery { - operIp: string; - title: string; - operName: string; - businessType: string; - status: string; - orderByColumn: string; - isAsc: string; -} - -export interface OperLogVO extends BaseEntity { - operId: string | number; - tenantId: string; - title: string; - businessType: number; - businessTypes: number[] | undefined; - method: string; - requestMethod: string; - operatorType: number; - operName: string; - deptName: string; - operUrl: string; - operIp: string; - operLocation: string; - operParam: string; - jsonResult: string; - status: number; - errorMsg: string; - operTime: string; - costTime: number; -} - -export interface OperLogForm { - operId: number | string | undefined; - tenantId: string | number | undefined; - title: string; - businessType: number; - businessTypes: number[] | undefined; - method: string; - requestMethod: string; - operatorType: number; - operName: string; - deptName: string; - operUrl: string; - operIp: string; - operLocation: string; - operParam: string; - jsonResult: string; - status: number; - errorMsg: string; - operTime: string; - costTime: number; -}