wesmiler hace 2 meses
padre
commit
afe73f1209
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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]);
     }
 
 }