diff --git a/app/Rpc/v1/NewsService.php b/app/Rpc/v1/NewsService.php index 614a49c..0f96067 100755 --- a/app/Rpc/v1/NewsService.php +++ b/app/Rpc/v1/NewsService.php @@ -55,9 +55,9 @@ class NewsService extends BaseService $query = AppNews::formatQuery(['created_at']) ->where('is_delete', 0); - +var_dump($relationId[$id]); if (isset($relationId[$id])) { - $query->whereIn('platform', $relationId[$id]); + $query->whereIn('platform', [$id]); } else { $query->where('platform', $id); }