Authored by qinchao

对外提供报警接口

... ... @@ -41,9 +41,11 @@ public class MonitAlarmCtrl {
@RequestMapping("/recvMonitAlarmInfo")
public void recvMonitAlarmInfo(String info,String mobiles) {
DEBUG.info("mip monit alarm info: {}", info);
alarmMsgService.sendSms("恶意ip拦截异常", info.toString(), mobiles);
DEBUG.info("mip monit alarm info: ", info);
if(info==null){
info="";
}
alarmMsgService.sendSms("service_exception", info.toString(), mobiles);
}
}
... ...