欢迎各位兄弟 发布技术文章
这里的技术是共享的
dd($users);
$users = User::orderby('id','asc')->get();
$users = User::orderby('id','asc')->paginate(6);
$all_nets = Auth::user()->nets()->orderby('created_at','desc')->paginate(6);
//var_dump($all_nets->currentPage()); //得到当前页 分页