mirror of
				https://github.com/v2board/v2board.git
				synced 2025-11-04 19:31:45 +08:00 
			
		
		
		
	update: set cancel order interval to 2 hours
This commit is contained in:
		@@ -42,7 +42,7 @@ class OrderHandleJob implements ShouldQueue
 | 
			
		||||
        switch ($this->order->status) {
 | 
			
		||||
            // cancel
 | 
			
		||||
            case 0:
 | 
			
		||||
                if ($this->order->created_at <= (time() - 1800)) {
 | 
			
		||||
                if ($this->order->created_at <= (time() - 3600 * 2)) {
 | 
			
		||||
                    $orderService->cancel();
 | 
			
		||||
                }
 | 
			
		||||
                break;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user