fix bug
This commit is contained in:
@@ -63,7 +63,6 @@ class Article
|
||||
$result["lastIndex"] = 0;
|
||||
$result["list"] = [];
|
||||
$list = Db::name("app_article")->where($where)->order('id desc')->limit(env("page_count"))->select()->toArray();
|
||||
print_r($list);
|
||||
foreach($list as $vo){
|
||||
$result['lastIndex'] = $vo['id'];
|
||||
$result["list"][] = $vo;
|
||||
|
||||
Reference in New Issue
Block a user