Showing
1 changed file
with
5 additions
and
3 deletions
@@ -41,9 +41,11 @@ public class MonitAlarmCtrl { | @@ -41,9 +41,11 @@ public class MonitAlarmCtrl { | ||
41 | @RequestMapping("/recvMonitAlarmInfo") | 41 | @RequestMapping("/recvMonitAlarmInfo") |
42 | public void recvMonitAlarmInfo(String info,String mobiles) { | 42 | public void recvMonitAlarmInfo(String info,String mobiles) { |
43 | 43 | ||
44 | - DEBUG.info("mip monit alarm info: {}", info); | ||
45 | - | ||
46 | - alarmMsgService.sendSms("恶意ip拦截异常", info.toString(), mobiles); | 44 | + DEBUG.info("mip monit alarm info: ", info); |
45 | + if(info==null){ | ||
46 | + info=""; | ||
47 | + } | ||
48 | + alarmMsgService.sendSms("service_exception", info.toString(), mobiles); | ||
47 | 49 | ||
48 | } | 50 | } |
49 | } | 51 | } |
-
Please register or login to post a comment