mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update user fetch
This commit is contained in:
parent
0a58930619
commit
ab8da6bb02
@ -21,6 +21,9 @@ class UserController extends Controller
|
||||
if ($request->input('email')) {
|
||||
$userModel->where('email', $request->input('email'));
|
||||
}
|
||||
if ($request->input('invite_user_id')) {
|
||||
$userModel->where('invite_user_id', $request->input('invite_user_id'));
|
||||
}
|
||||
$total = $userModel->count();
|
||||
$res = $userModel->forPage($current, $pageSize)
|
||||
->get();
|
||||
|
Loading…
Reference in New Issue
Block a user