rev: api位置挪动

This commit is contained in:
2024-05-29 15:16:08 +08:00
parent bba3cdc35b
commit 7659065a68
34 changed files with 23 additions and 239 deletions

View File

@@ -0,0 +1,35 @@
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 }