This commit is contained in:
2022-09-08 16:43:38 +08:00
parent 2db27956f8
commit 3444b93c1c
10 changed files with 25 additions and 25 deletions

View File

@@ -28,7 +28,7 @@ class Student
}
$result = [];
$list = Db::name("student")->where($where)->limit(env("page_count"))->order('hot desc')->paginate([
"list_rows"=>env("page_count"),
"list_rows"=>env("PAGE_COUNT"),
"page"=>$lastIndex
]);