This commit is contained in:
knowpia
2022-09-14 10:53:38 +08:00
parent b035692492
commit cbd2786b96

View File

@@ -64,9 +64,7 @@ class Help
$lastIndex = lastindex();
if($lastIndex == 0) {
$lastIndex = 1;
}
$result = [];
@@ -78,6 +76,9 @@ class Help
}
}
if($lastIndex == 0) {
$lastIndex = 1;
}
$list = Db::name("appHelp")->where("student_id",$student_id)->limit(env("page_count"))->order('count desc')->paginate([
"list_rows"=>env("PAGE_COUNT"),