36 lines
623 B
36 lines
623 B
1 year ago
|
import request from '@/utils/request'
|
||
|
|
||
|
// 查询缓存详细
|
||
|
export function getCache() {
|
||
|
return request({
|
||
|
url: '/api/redis/get-monitor-info',
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 获取模块
|
||
|
export function getKeyDefineList() {
|
||
|
return request({
|
||
|
url: '/api/redis/get-key-define-list',
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 获取模块
|
||
|
export function getKeyValueList() {
|
||
|
return request({
|
||
|
url: '/api/redis/get-key-value-list',
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
export function batch(ids) {
|
||
|
return request({
|
||
|
url: 'api/redis/',
|
||
|
method: 'delete',
|
||
|
data: ids
|
||
|
})
|
||
|
}
|
||
|
|
||
|
export default { getCache, getKeyDefineList, batch }
|