diff --git a/app/Rpc/v1/NewsService.php b/app/Rpc/v1/NewsService.php index 0f96067..fd54226 100755 --- a/app/Rpc/v1/NewsService.php +++ b/app/Rpc/v1/NewsService.php @@ -57,7 +57,7 @@ class NewsService extends BaseService ->where('is_delete', 0); var_dump($relationId[$id]); if (isset($relationId[$id])) { - $query->whereIn('platform', [$id]); + $query->whereIn('platform', $relationId[$id]); } else { $query->where('platform', $id); }