| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -753,6 +753,7 @@ class OrderOnlineService implements OrderOnlineServiceInterface | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        $orderMain = $this->check($globalOrderId, $userId, OrderState::RECEIVING); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        $orderMain->state = OrderState::COMPLETED; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        $orderMain->complete_time = time(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        $orderMain->delivery_time = time(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        if (!$orderMain->save()) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            throw new ErrorCodeException(ErrorCode::ORDER_COMPLETE_FAIL); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |