|
|
@@ -180,7 +180,7 @@ class ArticleService extends BaseService
|
|
|
// return $datas;
|
|
|
}
|
|
|
|
|
|
- $limit = ConfigService::make()->getConfigByCode('index_article_num',3);
|
|
|
+ $limit = ConfigService::make()->getConfigByCode('index_article_num',6);
|
|
|
$datas = ArticleCateModel::with(['articles'=>function($q) use($limit){
|
|
|
$q->take($limit);
|
|
|
}])->where(['type'=>$type,'status'=>1,'mark'=>1])
|