Browse Source

更新 'application/index/controller/Index.php'

Me 5 years ago
parent
commit
728593e08e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      application/index/controller/Index.php

+ 1 - 1
application/index/controller/Index.php

@@ -65,7 +65,7 @@ class Index extends Base
 
     public function Artis(){//文章页
         $aticle = new ArticleModel();//文章表
-        $articles = $aticle->order('time desc')->paginate(15);
+        $articles = $aticle->order('time desc')->paginate(10);
         $this->assign([
             'articles'=>$articles,
         ]);