作者 lyh

gx

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