mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	fix: telegram multiple notification issues
This commit is contained in:
		| @@ -157,6 +157,7 @@ class OrderController extends Controller | |||||||
|     private function handle($tradeNo, $callbackNo) |     private function handle($tradeNo, $callbackNo) | ||||||
|     { |     { | ||||||
|         $order = Order::where('trade_no', $tradeNo)->first(); |         $order = Order::where('trade_no', $tradeNo)->first(); | ||||||
|  |         if ($order->status === 1) return true; | ||||||
|         if (!$order) { |         if (!$order) { | ||||||
|             abort(500, 'order is not found'); |             abort(500, 'order is not found'); | ||||||
|         } |         } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user