完成 Redis 监控的功能

This commit is contained in:
YunaiV
2021-01-28 01:34:49 +08:00
parent 842496a534
commit 46706eb069
15 changed files with 737 additions and 1051 deletions

View File

@ -0,0 +1,17 @@
import request from '@/utils/request'
// 查询缓存详细
export function getCache() {
return request({
url: '/infra/redis/get-monitor-info',
method: 'get'
})
}
// TODO
export function getKeyList() {
return request({
url: '/infra/redis/get-key-list',
method: 'get'
})
}

View File

@ -1,9 +0,0 @@
import request from '@/utils/request'
// 查询缓存详细
export function getCache() {
return request({
url: '/monitor/cache',
method: 'get'
})
}