| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -318,7 +318,7 @@ class OrderController extends Controller | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
								$result = $app->order->unify([ | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									'body' => $order->title, | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									'out_trade_no' => $order->order_no . '-' . $order->status, //后面加status,主要是为了方便微信支付回调时区分定金(首付款)和尾款支付
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									'total_fee' => 0.01, //TODO 测试暂时注释 round($price * 100), //支付金额单位为分
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									'total_fee' => 1, //TODO 测试暂时注释 round($price * 100), //支付金额单位为分
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									'notify_url' => route('wxpay_notify', ['agent_id' => $this->agent_id]), // 支付结果通知网址,如果不设置则会使用配置里的默认地址
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									'trade_type' => 'JSAPI', | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
									'openid' => $openid, | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |