正在显示
1 个修改的文件
包含
3 行增加
和
0 行删除
| @@ -135,6 +135,9 @@ class Common | @@ -135,6 +135,9 @@ class Common | ||
| 135 | if(isset($cache) && ($cache['is_cache'] == true)){ | 135 | if(isset($cache) && ($cache['is_cache'] == true)){ |
| 136 | if(is_array($id)){ | 136 | if(is_array($id)){ |
| 137 | foreach ($id as $v){ | 137 | foreach ($id as $v){ |
| 138 | + if(is_array($v)){ | ||
| 139 | + continue; | ||
| 140 | + } | ||
| 138 | $key = 'cache_'.$table.'_'.$v.'_type'; | 141 | $key = 'cache_'.$table.'_'.$v.'_type'; |
| 139 | Cache::store('file')->pull($key); | 142 | Cache::store('file')->pull($key); |
| 140 | } | 143 | } |
-
请 注册 或 登录 后发表评论