mirror of
https://github.com/v2board/v2board.git
synced 2024-11-14 07:29:13 +08:00
update
This commit is contained in:
parent
8b06636572
commit
5454b5d702
@ -17,6 +17,9 @@ class OrderController extends Controller
|
|||||||
if ($request->input('trade_no')) {
|
if ($request->input('trade_no')) {
|
||||||
$orderModel->where('trade_no', $request->input('trade_no'));
|
$orderModel->where('trade_no', $request->input('trade_no'));
|
||||||
}
|
}
|
||||||
|
if ($request->input('is_commission')) {
|
||||||
|
$orderModel->where('invite_user_id', '!=', NULL);
|
||||||
|
}
|
||||||
$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