diff --git a/app/controller/Article.php b/app/controller/Article.php index 10b0751..29bd643 100644 --- a/app/controller/Article.php +++ b/app/controller/Article.php @@ -65,7 +65,7 @@ class Article $list = Db::name("app_article")->where($where)->order("id desc")->order('id desc')->limit(env("page_count"))->select()->toArray(); foreach($list as $vo){ $result['lastIndex'] = $vo['id']; - $result["data"][] = $vo; + $result["list"][] = $vo; } if(count($list)