| 
					
					
						
							
						
					
					
				 | 
				@ -339,6 +339,7 @@ class OrderController extends Controller | 
			
		
		
	
		
			
				 | 
				 | 
								'notify_url' => route('wxpay_notify', ['agent_id' => $this->agent_id]), // 支付结果通知网址,如果不设置则会使用配置里的默认地址
 | 
				 | 
				 | 
								'notify_url' => route('wxpay_notify', ['agent_id' => $this->agent_id]), // 支付结果通知网址,如果不设置则会使用配置里的默认地址
 | 
			
		
		
	
		
			
				 | 
				 | 
								'trade_type' => 'JSAPI', | 
				 | 
				 | 
								'trade_type' => 'JSAPI', | 
			
		
		
	
		
			
				 | 
				 | 
								'openid' => $openid, | 
				 | 
				 | 
								'openid' => $openid, | 
			
		
		
	
		
			
				 | 
				 | 
				 | 
				 | 
				 | 
								'profit_sharing' => 'Y', //Y分账,N不分账,默认不分账,Y大写
 | 
			
		
		
	
		
			
				 | 
				 | 
							]); | 
				 | 
				 | 
							]); | 
			
		
		
	
		
			
				 | 
				 | 
						} catch (InvalidArgumentException | InvalidConfigException | GuzzleException $e) { | 
				 | 
				 | 
						} catch (InvalidArgumentException | InvalidConfigException | GuzzleException $e) { | 
			
		
		
	
		
			
				 | 
				 | 
							return ['error' => $e->getMessage(), 'line' => $e->getLine()]; | 
				 | 
				 | 
							return ['error' => $e->getMessage(), 'line' => $e->getLine()]; | 
			
		
		
	
	
		
			
				| 
					
						
							
						
					
					
					
				 | 
				
  |