作者 lyh

gx

@@ -32,11 +32,8 @@ class BlogCategoryLogic extends BaseLogic @@ -32,11 +32,8 @@ class BlogCategoryLogic extends BaseLogic
32 $str = []; 32 $str = [];
33 //排序掉当前id下所有子集 33 //排序掉当前id下所有子集
34 $str = $this->getAllSub($this->param['id'],$str); 34 $str = $this->getAllSub($this->param['id'],$str);
35 - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($str, true) . PHP_EOL, FILE_APPEND);  
36 - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($this->param['id'], true) . PHP_EOL, FILE_APPEND);  
37 $str[] = (int)$this->param['id']; 35 $str[] = (int)$this->param['id'];
38 - @file_put_contents(storage_path('logs/lyh_error.log'), var_export($str, true) . PHP_EOL, FILE_APPEND);  
39 - $this->param['id'] = ['!=',$str]; 36 + $this->param['id'] = ['not in',$str];
40 } 37 }
41 $list = $this->model->list($this->param); 38 $list = $this->model->list($this->param);
42 if(!empty($list)){ 39 if(!empty($list)){