Authored by whb

tools

@@ -63,8 +63,9 @@ class ToolsController extends WebAction @@ -63,8 +63,9 @@ class ToolsController extends WebAction
63 foreach ($list as $val) { 63 foreach ($list as $val) {
64 Cache::delete($key.'_'.$val); 64 Cache::delete($key.'_'.$val);
65 } 65 }
  66 + } else {
  67 + Cache::delete($key);
66 } 68 }
67 - Cache::delete($key);  
68 echo '清除成功'; 69 echo '清除成功';
69 } 70 }
70 } 71 }