Commit c31c9bd7 authored by renjie's avatar renjie

健康检查bug

parent 29b5f6f0
......@@ -62,9 +62,9 @@ public class NotifyUtils {
} catch (Exception e) {
}
// if (!StringUtils.isEmpty(env) && !env.equalsIgnoreCase("prod")) {
// return;
// }
if (!StringUtils.isEmpty(env) && !env.equalsIgnoreCase("prod")) {
return;
}
String envPrefix = "执行环境: " + env + "\n";
text.put("content", envPrefix + message.getContent());
json.put("text", text);
......
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