update
This commit is contained in:
@ -30,6 +30,7 @@ class NewsService extends BaseService
|
|||||||
}
|
}
|
||||||
// 相关文章
|
// 相关文章
|
||||||
$query['about'] = AppNews::formatQuery(['created_at'])
|
$query['about'] = AppNews::formatQuery(['created_at'])
|
||||||
|
->where('platform', $isRelation ? current(self::RELATION[$app_id]) : $app_id)
|
||||||
->where('is_delete', 0)
|
->where('is_delete', 0)
|
||||||
->select(['title', 'id'])
|
->select(['title', 'id'])
|
||||||
->limit(10)
|
->limit(10)
|
||||||
|
Reference in New Issue
Block a user