Commit bb882f24 authored by 张艳玲's avatar 张艳玲

update

parent 7f8186c0
...@@ -13,7 +13,7 @@ public class DingTalkUtils { ...@@ -13,7 +13,7 @@ public class DingTalkUtils {
// 通过钉钉机器人发送消息到钉钉群中 // 通过钉钉机器人发送消息到钉钉群中
public static void sendVal(String context)throws Exception{ public static void sendVal(String context)throws Exception{
//测试结果 //测试结果
context = "【接口自动化反馈结果】\n" context = "【接口自动化测试结果反馈】\n"
+ context + context
+ "报告地址: http://10.172.58.199/view/kkk/job/kejiji_interface/HTML_20Report\n" + "报告地址: http://10.172.58.199/view/kkk/job/kejiji_interface/HTML_20Report\n"
+ "@张慧锋 @张艳玲 @张震 @别湘灵"; + "@张慧锋 @张艳玲 @张震 @别湘灵";
...@@ -30,6 +30,7 @@ public class DingTalkUtils { ...@@ -30,6 +30,7 @@ public class DingTalkUtils {
//发起dingding机器人通知 //发起dingding机器人通知
if (isPushReport){ if (isPushReport){
Response response = network.dingTalkRobot(params); Response response = network.dingTalkRobot(params);
System.out.println("钉钉 response:"+response.asString());
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment