正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -33,7 +33,7 @@ class BlogCategoryLogic extends BaseLogic | @@ -33,7 +33,7 @@ class BlogCategoryLogic extends BaseLogic | ||
| 33 | //排序掉当前id下所有子集 | 33 | //排序掉当前id下所有子集 |
| 34 | $this->getAllSub($this->param['id'],$str); | 34 | $this->getAllSub($this->param['id'],$str); |
| 35 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($str, true) . PHP_EOL, FILE_APPEND); | 35 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($str, true) . PHP_EOL, FILE_APPEND); |
| 36 | - $str[] = $this->param['id']; | 36 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($this->param['id'], true) . PHP_EOL, FILE_APPEND); |
| 37 | $this->param['id'] = ['!=',$str]; | 37 | $this->param['id'] = ['!=',$str]; |
| 38 | } | 38 | } |
| 39 | $list = $this->model->list($this->param); | 39 | $list = $this->model->list($this->param); |
-
请 注册 或 登录 后发表评论