Commit 51e6b7c5 by LiuJunYi

1

parent 501acb4b
...@@ -197,7 +197,7 @@ class User extends Base ...@@ -197,7 +197,7 @@ class User extends Base
$p = input('post.p/d', 1); $p = input('post.p/d', 1);
$page = input('post.page/d', 8); $page = input('post.page/d', 8);
$list = collection(UserModel::get($uid)->project()->page($p, $page)->select()); $list = collection(UserModel::get($uid)->project()->page($p, $page)->order('id','desc')->select());
if ($list->isEmpty()) { if ($list->isEmpty()) {
return ['code' => 1, 'msg' => '没有更多']; return ['code' => 1, 'msg' => '没有更多'];
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment