From ba4eee2e5ced6aef3e85a7c7b8317817b7ad3cae Mon Sep 17 00:00:00 2001
From: sinake <sinake1@qq.com>
Date: 星期四, 14 八月 2025 10:05:53 +0800
Subject: [PATCH] Merge branch 'lishui-Smartor' of http://116.62.18.175:6699/r/~yxh/smartor-web

---
 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