mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +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) | ||||
|   | ||||
| @@ -31,7 +31,7 @@ class ConfigController extends Controller | ||||
|                     'invite_gen_limit' => config('v2board.invite_gen_limit', 5), | ||||
|                     'invite_never_expire' => config('v2board.invite_never_expire', 0), | ||||
|                     'commission_first_time_enable' => config('v2board.commission_first_time_enable', 1), | ||||
|                     'commission_auto_check' => config('v2board.commission_auto_check_enable', 1) | ||||
|                     'commission_auto_check_enable' => config('v2board.commission_auto_check_enable', 1) | ||||
|                 ], | ||||
|                 'site' => [ | ||||
|                     'safe_mode_enable' => (int)config('v2board.safe_mode_enable', 0), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user