| 
						
						
							
								
							
						
						
					 | 
					@ -39,7 +39,7 @@ public class AppLetAuthorizationServiceImpl implements AppLetAuthorizationServic | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        String customerId = paCustomerAgencyDao.getCustomerIdByUserId(userId); | 
					 | 
					 | 
					        String customerId = paCustomerAgencyDao.getCustomerIdByUserId(userId); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        //获取预授权码
 | 
					 | 
					 | 
					        //获取预授权码
 | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        String preAuthCode = componentVerifyTicketService.preAuthCode(); | 
					 | 
					 | 
					        String preAuthCode = componentVerifyTicketService.preAuthCode(); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					        String redirectUrl = String.format(WxMaCodeConstant.API_RETURN_REDIRECT_URL, formDTO.getClientType(), customerId); | 
					 | 
					 | 
					        String redirectUrl = String.format(WxMaCodeConstant.API_RETURN_REDIRECT_URL, customerId,formDTO.getClientType()); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					 | 
					 | 
					        String authUrl = String.format(WxMaCodeConstant.API_AUTH_REGISTER_URL, componentAppId, preAuthCode, redirectUrl); | 
					 | 
					 | 
					        String authUrl = String.format(WxMaCodeConstant.API_AUTH_REGISTER_URL, componentAppId, preAuthCode, redirectUrl); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        result.setUrl(authUrl); | 
					 | 
					 | 
					        result.setUrl(authUrl); | 
				
			
			
		
	
		
		
			
				
					 | 
					 | 
					        return result; | 
					 | 
					 | 
					        return result; | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					
  |