增加 swagger、druid、skywalking、admin 的自定义路径

This commit is contained in:
YunaiV
2023-04-07 23:25:43 +08:00
parent 70a10b26d2
commit 04c3cdf372
7 changed files with 62 additions and 181 deletions

View File

@ -7,48 +7,3 @@ export function getCache() {
method: 'get'
})
}
// 获取模块
export function getKeyDefineList() {
return request({
url: '/infra/redis/get-key-define-list',
method: 'get'
})
}
// 获取键名列表
export function getKeyList(keyTemplate) {
return request({
url: '/infra/redis/get-key-list',
method: 'get',
params: {
keyTemplate
}
})
}
// 获取缓存内容
export function getKeyValue(key) {
return request({
url: '/infra/redis/get-key-value?key=' + key,
method: 'get'
})
}
// 根据键名删除缓存
export function deleteKey(key) {
return request({
url: '/infra/redis/delete-key?key=' + key,
method: 'delete'
})
}
export function deleteKeys(keyTemplate) {
return request({
url: '/infra/redis/delete-keys?',
method: 'delete',
params: {
keyTemplate
}
})
}