调整列表
This commit is contained in:
@@ -181,6 +181,7 @@ function getArtilesByCates($cate_id, $take = 8)
|
||||
{
|
||||
$cate_ids = Category::where('parent_id', $cate_id)
|
||||
->orWhere('id', $cate_id)
|
||||
->where('status', 1)
|
||||
->whereIn('type', [Category::TYPE_ARTICLE, Category::TYPE_SHOW])
|
||||
->pluck('id')
|
||||
->toArray();
|
||||
|
||||
Reference in New Issue
Block a user