You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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' })
|
|
}
|