From f6bc6ed2dec9cd60853db928fa6e56a92ab5de0d Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期三, 12 二月 2025 11:07:17 +0800 Subject: [PATCH] 测试完成 --- src/api/monitor/cache.js | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/api/monitor/cache.js b/src/api/monitor/cache.js index 72c5f6a..b16ec0d 100644 --- a/src/api/monitor/cache.js +++ b/src/api/monitor/cache.js @@ -35,23 +35,23 @@ // 娓呯悊鎸囧畾鍚嶇О缂撳瓨 export function clearCacheName(cacheName) { return request({ - url: '/monitor/cache/clearCacheName/' + cacheName, - method: 'delete' + url: '/monitor/cache/clearCacheName/remove/' + cacheName, + method: 'get' }) } // 娓呯悊鎸囧畾閿悕缂撳瓨 export function clearCacheKey(cacheKey) { return request({ - url: '/monitor/cache/clearCacheKey/' + cacheKey, - method: 'delete' + url: '/monitor/cache/clearCacheKey/remove/' + cacheKey, + method: 'get' }) } // 娓呯悊鍏ㄩ儴缂撳瓨 export function clearCacheAll() { return request({ - url: '/monitor/cache/clearCacheAll', - method: 'delete' + url: '/monitor/cache/clearCacheAll/remove', + method: 'get' }) } -- Gitblit v1.9.3