Commit 1a0dbc2b authored by 张艳玲's avatar 张艳玲

修改钉钉推送

parent 81bad166
......@@ -41,7 +41,7 @@ public class DingTalkUtils {
contentParams.put("content","【测试结果】\n" + errorMessage);
//钉钉机器人消息体
Map<String, Object> params = new HashMap<String, Object>();
/* Map<String, Object> params = new HashMap<String, Object>();
params.put("msgtype","text");
params.put("text",contentParams);
System.out.println(params);
......@@ -50,7 +50,7 @@ public class DingTalkUtils {
if (isPushReport){
Response response = network.dingTalkRobot(params);
response.body().prettyPrint();
}
}*/
}
public static void main(String[] args) {
......
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