|  | @@ -301,12 +301,9 @@ class OrderService
 | 
	
		
			
				|  |  |              throw new BusinessException("订单查询失败");
 | 
	
		
			
				|  |  |          }
 | 
	
		
			
				|  |  |          try {
 | 
	
		
			
				|  |  | -            if($nbr > 2){
 | 
	
		
			
				|  |  | -                $result = Pay::alipay(config('payment.alipay'))->find($orderId);
 | 
	
		
			
				|  |  | -                $result = json_decode(json_encode($result), true);
 | 
	
		
			
				|  |  | -            }
 | 
	
		
			
				|  |  | +            $result = Pay::alipay(config('payment.alipay'))->find($orderId);
 | 
	
		
			
				|  |  | +            $result = json_decode(json_encode($result), true);
 | 
	
		
			
				|  |  |          } catch (\Exception $e) {
 | 
	
		
			
				|  |  | -            dump($e->getMessage());
 | 
	
		
			
				|  |  |              SupportLog::channel('pay')->error("ALIPAY", ['msg' => $e->getMessage()]);
 | 
	
		
			
				|  |  |              throw new BusinessException("订单查询失败");
 | 
	
		
			
				|  |  |          }
 | 
	
	
		
			
				|  | @@ -314,7 +311,6 @@ class OrderService
 | 
	
		
			
				|  |  |          if (!empty($result['code']) && $result['code'] == '10000' && !empty($result['trade_status']) && $result['trade_status'] == 'TRADE_SUCCESS') {
 | 
	
		
			
				|  |  |              return $result;
 | 
	
		
			
				|  |  |          } else {
 | 
	
		
			
				|  |  | -            dump("睡:".$nbr);
 | 
	
		
			
				|  |  |              sleep(5);
 | 
	
		
			
				|  |  |              self::findAlipay($orderId, $nbr + 1);
 | 
	
		
			
				|  |  |          }
 |