| 
						
						
							
								
							
						
						
					 | 
				
				 | 
				
					@ -729,8 +729,9 @@ public class ComponentVerifyTicketServiceImpl implements ComponentVerifyTicketSe | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            log.error("授权完成发送钉钉消息失败,原因:未查询到客户信息,客户Id->" + customerId); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            return null; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        String secret = "SEC68536dfc393790a35cb08e9bc531dad0c654cf84bb53b76667fa7a7f2cbed829"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        String url = "https://oapi.dingtalk.com/robot/send?access_token=c3d34eac31acde342d37a01ac1792beac5b17b2890b4f5015e2759546fed1331"; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        //2.拼接钉钉消息内容并发送
 | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        DingTalkClient client = new DefaultDingTalkClient("https://oapi.dingtalk.com/robot/send?access_token=b4e47783ad72ba643278598ff8af90e745890c13538b2a4dc139635a71289dfd"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        OapiRobotSendRequest request = new OapiRobotSendRequest(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        request.setMsgtype("markdown"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        OapiRobotSendRequest.Markdown markdown = new OapiRobotSendRequest.Markdown(); | 
				
			
			
		
	
	
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
				
				 | 
				
					@ -741,12 +742,7 @@ public class ComponentVerifyTicketServiceImpl implements ComponentVerifyTicketSe | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                "> 管理员称谓: " + result.getAppellation() + "\n\n" + | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					                "> 联系方式: " + result.getPhone() + "\n"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        request.setMarkdown(markdown); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        try { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            OapiRobotSendResponse response = client.execute(request); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } catch (ApiException e) { | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            log.error("机器人生病了......"); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					            e.printStackTrace(); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        HttpClientManager.getInstance().sendDingMsg(JSON.toJSONString(request),url,secret); | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					        return null; | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					    } | 
				
			
			
		
	
		
			
				
					 | 
					 | 
				
				 | 
				
					
 | 
				
			
			
		
	
	
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
				
				 | 
				
					
  |