$users = DB::table('users')->page(); foreach($users as $user) { echo $user['id']; } echo $users->getLink(); // 输出分页链接