| 
					
				 | 
			
			
				@ -124,8 +124,10 @@ public class CustomerService{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							par.add(new BasicNameValuePair("openIds", openId)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							par.add(new BasicNameValuePair("content", msg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								logger.info("===================================================================="); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								String result = HttpClientUtil.post(messageApi+"/sendWechatMessage", par,"UTF-8"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								logger.info("微信发送消息返回结果:"+result); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								logger.info("===================================================================="); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								JSONObject resultJson = new JSONObject(result); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								if(1!=resultJson.getInt("successNum")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									resp.put("wechat","-1");//-1代表发送失败 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@ -143,8 +145,11 @@ public class CustomerService{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							par.add(new BasicNameValuePair("mobiles", mobile)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							par.add(new BasicNameValuePair("content", msg)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
							try { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								logger.info("===================================================================="); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								String result = HttpClientUtil.post(messageApi+"/sendMobileMessage",par,"UTF-8"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								logger.info("发送短信消息返回结果:"+result); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								logger.info("======================================================================"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								JSONObject resultJson = new JSONObject(result); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
								if(1!=resultJson.getInt("successNum")){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
									resp.put("mobile","-1");//-1代表发送失败 
			 |