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

Merge branch 'feature/20210304-liuchao' into 'master'

控制报告只钉钉推送一次

See merge request test-group/kejiji!27
parents 9154860d 5b322443
......@@ -16,7 +16,6 @@ public class DingTalkUtils {
public static void sendVal(String context)throws Exception{
if (!hasSend.compareAndSet(true, false)){
System.out.println("已经推送一次报告了");
return;
}
......@@ -37,8 +36,8 @@ public class DingTalkUtils {
//发起dingding机器人通知
if (isPushReport){
// Response response = network.dingTalkRobot(params);
// System.out.println("钉钉 response:"+response.asString());
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