update commission

This commit is contained in:
Tokumeikoi 2020-05-13 12:45:22 +08:00
parent 8afa3c8f09
commit a7d6b615ed

View File

@ -26,6 +26,7 @@ class OrderController extends Controller
if ($request->input('is_commission')) {
$orderModel->where('invite_user_id', '!=', NULL);
$orderModel->where('status', 3);
$orderModel->where('commission_balance', '>', 0);
}
if ($request->input('id')) {
$orderModel->where('id', $request->input('id'));