update commission

This commit is contained in:
Tokumeikoi 2020-05-13 16:01:09 +08:00
parent a7d6b615ed
commit f26d9495e3

View File

@ -48,7 +48,6 @@ class CheckCommission extends Command
if ((int)config('v2board.commission_auto_check_enable', 1)) { if ((int)config('v2board.commission_auto_check_enable', 1)) {
Order::where('commission_status', 0) Order::where('commission_status', 0)
->where('status', 3) ->where('status', 3)
->where('commission_balance', '>', 0)
->where('updated_at', '<=', strtotime('-3 day', time())) ->where('updated_at', '<=', strtotime('-3 day', time()))
->update([ ->update([
'commission_status' => 1 'commission_status' => 1