作者 lyh

gx批量添加关键字

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