mirror of
https://github.com/v2board/v2board.git
synced 2025-06-12 20:47:56 +08:00
update: commission process
This commit is contained in:
@ -25,7 +25,7 @@ class OrderController extends Controller
|
||||
}
|
||||
if ($request->input('is_commission')) {
|
||||
$orderModel->where('invite_user_id', '!=', NULL);
|
||||
$orderModel->where('status', 3);
|
||||
$orderModel->whereIn('status', [3, 4]);
|
||||
$orderModel->where('commission_balance', '>', 0);
|
||||
}
|
||||
if ($request->input('id')) {
|
||||
|
@ -15,7 +15,7 @@ class OrderUpdate extends FormRequest
|
||||
{
|
||||
return [
|
||||
'status' => 'in:0,1,2,3',
|
||||
'commission_status' => 'in:0,1,2'
|
||||
'commission_status' => 'in:0,1,3'
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user