Commit 9f72245b by 杨昕

页面大小限制

parent 2ee26024
Pipeline #10250 passed with stages
in 41 seconds
......@@ -43,6 +43,9 @@ class MediaModel extends Eloquent
$limit = (isset($request->page_size) ? (int)($request->page_size) : Constant::PAGE_NUMBER) ;
if ($limit >500){
$limit = 500;
}
$page = $request->page??1;
......
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