diff --git a/app/controller/Share.php b/app/controller/Share.php index 17514db..25daa0c 100644 --- a/app/controller/Share.php +++ b/app/controller/Share.php @@ -14,7 +14,7 @@ class Share $where = "id < ".$lastIndex; } $result['lastIndex'] = 0; - $list = Db::name("app_users")->where($where)->order("share_count desc,order id desc")->select()->toArray(); + $list = Db::name("app_users")->where($where)->order("share_count desc,id desc")->select()->toArray(); foreach($list as $vo){ $result['lastIndex'] = $vo['id']; $result['data'] = [