|
|
@@ -182,7 +182,7 @@ class ArticleService extends BaseService
|
|
|
|
|
|
$limit = ConfigService::make()->getConfigByCode('index_article_num',3);
|
|
|
$datas = ArticleCateModel::with(['articles'=>function($query) use($limit){
|
|
|
- $query->limit($limit);
|
|
|
+// $query->limit($limit);
|
|
|
}])->where(['type'=>$type,'status'=>1,'mark'=>1])
|
|
|
->select(['id','name','sort','type'])
|
|
|
->get()
|