|
...
|
...
|
@@ -450,6 +450,7 @@ class NewsLogic extends BaseLogic |
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($category_ids_arr, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
$category_ids = ','.implode(',',$category_ids_arr).',';
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($category_ids, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($id, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
$this->model->edit(['category_id'=>$category_ids],['id'=>$id]);
|
|
|
|
}
|
|
|
|
}
|
...
|
...
|
|