mirror of
https://github.com/v2board/v2board.git
synced 2025-06-13 21:28:27 +08:00
add auto check commission
This commit is contained in:
@ -45,7 +45,7 @@ class CheckCommission extends Command
|
||||
|
||||
public function autoCheck()
|
||||
{
|
||||
if ((int)config('v2board.commission_auto_check_enable')) {
|
||||
if ((int)config('v2board.commission_auto_check_enable', 1)) {
|
||||
Order::where('commission_status', 0)
|
||||
->where('status', 3)
|
||||
->where('commission_balance', '>', 0)
|
||||
|
Reference in New Issue
Block a user