mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
5454b5d702
commit
75a5b93abd
@ -20,6 +20,9 @@ class OrderController extends Controller
|
|||||||
if ($request->input('is_commission')) {
|
if ($request->input('is_commission')) {
|
||||||
$orderModel->where('invite_user_id', '!=', NULL);
|
$orderModel->where('invite_user_id', '!=', NULL);
|
||||||
}
|
}
|
||||||
|
if ($request->input('id')) {
|
||||||
|
$orderModel->where('id', $request->input('id'));
|
||||||
|
}
|
||||||
$total = $orderModel->count();
|
$total = $orderModel->count();
|
||||||
$res = $orderModel->forPage($current, $pageSize)
|
$res = $orderModel->forPage($current, $pageSize)
|
||||||
->get();
|
->get();
|
||||||
|
Loading…
Reference in New Issue
Block a user