正在显示
1 个修改的文件
包含
1 行增加
和
0 行删除
| @@ -450,6 +450,7 @@ class NewsLogic extends BaseLogic | @@ -450,6 +450,7 @@ class NewsLogic extends BaseLogic | ||
| 450 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($category_ids_arr, true) . PHP_EOL, FILE_APPEND); | 450 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($category_ids_arr, true) . PHP_EOL, FILE_APPEND); |
| 451 | $category_ids = ','.implode(',',$category_ids_arr).','; | 451 | $category_ids = ','.implode(',',$category_ids_arr).','; |
| 452 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($category_ids, true) . PHP_EOL, FILE_APPEND); | 452 | @file_put_contents(storage_path('logs/lyh_error.log'), var_export($category_ids, true) . PHP_EOL, FILE_APPEND); |
| 453 | + @file_put_contents(storage_path('logs/lyh_error.log'), var_export($id, true) . PHP_EOL, FILE_APPEND); | ||
| 453 | $this->model->edit(['category_id'=>$category_ids],['id'=>$id]); | 454 | $this->model->edit(['category_id'=>$category_ids],['id'=>$id]); |
| 454 | } | 455 | } |
| 455 | } | 456 | } |
-
请 注册 或 登录 后发表评论