Commit 26bca654 authored by jim's avatar jim

msg

parent 23b3be26
......@@ -193,7 +193,7 @@ public class BrowserTask {
}
} catch (Exception e) {
log.error(e.getMessage(), e);
NotifyUtils.sendMessage("浏览器后端又炸了,赶紧看啊", NotifyUtils.MsgType.WEBHOOK);
NotifyUtils.sendMessage("浏览器后端 queryIpTasks() 又炸了,赶紧看啊", e, NotifyUtils.MsgType.WEBHOOK);
} finally {
long end = System.currentTimeMillis();
log.debug("queryIpTask {} execution time is: " + (end - start) / 1000 + "s", ipResource.getId());
......
......@@ -23,7 +23,7 @@ public class NotifyUtils {
private static final CloseableHttpClient httpClient = HttpClients.createDefault();
public enum MsgType {
WEBHOOK("https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=6bdea516-5321-45b8-bdf4-c666aa35af7c"),
WEBHOOK("https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=7876986a-40f2-47a5-8071-f8aef21a996c"),
;
String url;
......
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