瀏覽代碼

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

Me 5 年之前
父節點
當前提交
728593e08e
共有 1 個文件被更改,包括 1 次插入1 次删除
  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,
         ]);