mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-08 08:05:07 +08:00
17 lines
426 B
TypeScript
17 lines
426 B
TypeScript
import { defHttp } from '@/config/axios'
|
|
import { RedisKeyInfo, RedisMonitorInfoVO } from '@/api/infra/redis/types'
|
|
|
|
/**
|
|
* 获取redis 监控信息
|
|
*/
|
|
export const redisMonitorInfo = () => {
|
|
return defHttp.get<RedisMonitorInfoVO>({ url: '/infra/redis/get-monitor-info' })
|
|
}
|
|
|
|
/**
|
|
* 获取redis key列表
|
|
*/
|
|
export const redisKeysInfo = () => {
|
|
return defHttp.get<RedisKeyInfo[]>({ url: '/infra/redis/get-key-list' })
|
|
}
|