| 
					
				 | 
			
			
				@ -757,12 +757,12 @@ public class WlyyLoginEndpoint extends AbstractEndpoint { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        if (StringUtils.isEmpty(code)) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            throw new InvalidRequestException("doctor is null"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//        KeyPair keyPair = (KeyPair) httpSession.getAttribute("privateKey"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				//        String doctorCode = com.yihu.jw.security.utils.RSAUtils.decryptBase64(code, keyPair); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        KeyPair keyPair = (KeyPair) httpSession.getAttribute("privateKey"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        String doctorCode = com.yihu.jw.security.utils.RSAUtils.decryptBase64(code, keyPair); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        JSONObject map = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        try{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            map= oauthWlyyConfigService.checkWlyyDoctor(code); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            map= oauthWlyyConfigService.checkWlyyDoctor(doctorCode); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        }catch (Exception e){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            logger.error(e); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				            return ObjEnvelop.getError("授权失败"); 
			 |