|  |  | @ -51,8 +51,10 @@ public class WxLoginServiceImpl implements WxLoginService { | 
			
		
	
		
			
				
					|  |  |  | 		String resultStr = HttpClientManager.getInstance().sendGet(WxLoginConstant.WXCODE_BY_OPENID, map).getData(); | 
			
		
	
		
			
				
					|  |  |  | 		HashMap<String, String> hashMap = JSON.parseObject(resultStr, HashMap.class); | 
			
		
	
		
			
				
					|  |  |  | 		if (null != hashMap.get("errcode")) { | 
			
		
	
		
			
				
					|  |  |  | 			logger.error("wxcode换取openid接口调用失败"); | 
			
		
	
		
			
				
					|  |  |  | 			throw new RenException(hashMap.get("errmsg")); | 
			
		
	
		
			
				
					|  |  |  | 			//45011:API 调用太频繁,请稍候再试;40029:	code 无效 【错误码:https://developers.weixin.qq.com/doc/oplatform/Return_codes/Return_code_descriptions_new.html】
 | 
			
		
	
		
			
				
					|  |  |  | 			throw new RenException(String.format("wxcode换取用户基本信息失败,wxcode->%s,错误码->%s,错误信息->%s", wxCode, hashMap.get("errcode"), hashMap.get("errmsg"))); | 
			
		
	
		
			
				
					|  |  |  | 			/*logger.error("wxcode换取openid接口调用失败"); | 
			
		
	
		
			
				
					|  |  |  | 			throw new RenException(hashMap.get("errmsg"));*/ | 
			
		
	
		
			
				
					|  |  |  | 		} | 
			
		
	
		
			
				
					|  |  |  | 		String openid = hashMap.get("openid"); | 
			
		
	
		
			
				
					|  |  |  | 		String sessionKey = hashMap.get("session_key"); | 
			
		
	
	
		
			
				
					|  |  | 
 |