wesmiler 3 ماه پیش
والد
کامیت
afe73f1209
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  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]);
     }
 
 }