From ae2935a0814d3d4eaf4b042198e07e75a9a9aab0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Fri, 29 May 2026 19:26:34 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=20=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E5=B9=B6=E4=B8=8D=E5=AD=98=E5=9C=A8=E7=9A=84=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/monitor/cache/index.ts | 47 ---------------------------------- 1 file changed, 47 deletions(-) diff --git a/src/api/monitor/cache/index.ts b/src/api/monitor/cache/index.ts index 30afa87..4f2efb2 100644 --- a/src/api/monitor/cache/index.ts +++ b/src/api/monitor/cache/index.ts @@ -10,50 +10,3 @@ export function getCache(): AxiosPromise { }); } -// 查询缓存名称列表 -export function listCacheName() { - return request({ - url: '/monitor/cache/getNames', - method: 'get' - }); -} - -// 查询缓存键名列表 -export function listCacheKey(cacheName: string) { - return request({ - url: '/monitor/cache/getKeys/' + cacheName, - method: 'get' - }); -} - -// 查询缓存内容 -export function getCacheValue(cacheName: string, cacheKey: string) { - return request({ - url: '/monitor/cache/getValue/' + cacheName + '/' + cacheKey, - method: 'get' - }); -} - -// 清理指定名称缓存 -export function clearCacheName(cacheName: string) { - return request({ - url: '/monitor/cache/clearCacheName/' + cacheName, - method: 'delete' - }); -} - -// 清理指定键名缓存 -export function clearCacheKey(cacheName: string, cacheKey: string) { - return request({ - url: '/monitor/cache/clearCacheKey/' + cacheName + '/' + cacheKey, - method: 'delete' - }); -} - -// 清理全部缓存 -export function clearCacheAll() { - return request({ - url: '/monitor/cache/clearCacheAll', - method: 'delete' - }); -}