会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
小白兔晒黑了
导航
博客园
首页
新随笔
联系
订阅
管理
公告
2020年7月17日
Laravel 分页功能
摘要: $students = Student::paginate(2);和{{$students->render()}}两行代码搞定 C public function index() { //$students = Student::get(); //(每页显示的个数) $students = Stud
阅读全文
posted @ 2020-07-17 01:48 小白兔晒黑了
阅读(337)
评论(0)
推荐(0)
编辑