wesmiler před 3 měsíci
rodič
revize
afe73f1209
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      app/Models/ArticleCateModel.php

+ 1 - 1
app/Models/ArticleCateModel.php

@@ -29,7 +29,7 @@ class ArticleCateModel extends BaseModel
     public function articles()
     {
         return $this->hasMany(ArticleModel::class, 'cate_id', 'id')
-            ->where(['status'=>1,'mark'=>1])->take(3);
+            ->where(['status'=>1,'mark'=>1]);
     }
 
 }