mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 17:31:49 +08:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -55,9 +55,13 @@ class OrderController extends Controller | ||||
|     } | ||||
|  | ||||
|     private function isExistNotPayOrderByUserId ($userId) { | ||||
|         return Order::where('status', 1) | ||||
|         $order = Order::where('status', 1) | ||||
|             ->where('user_id', $userId) | ||||
|             ->first(); | ||||
|         if (!$order) { | ||||
|             return false; | ||||
|         } | ||||
|         return true; | ||||
|     } | ||||
|      | ||||
|     public function save (OrderSave $request) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user