rev: api位置挪动
This commit is contained in:
35
nladmin-ui/src/views/system/redis/redis.js
Normal file
35
nladmin-ui/src/views/system/redis/redis.js
Normal 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 }
|
||||
Reference in New Issue
Block a user