Showing
1 changed file
with
2 additions
and
1 deletions
@@ -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 | - } | 66 | + } else { |
67 | Cache::delete($key); | 67 | Cache::delete($key); |
68 | + } | ||
68 | echo '清除成功'; | 69 | echo '清除成功'; |
69 | } | 70 | } |
70 | } | 71 | } |
-
Please register or login to post a comment