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