...
|
...
|
@@ -78,7 +78,9 @@ public class AlarmMsgServiceImpl implements AlarmMsgService { |
|
|
public boolean sendSms(String type, String content, String alarmInfo, String mobile) {
|
|
|
|
|
|
String open = zookeeperService.getData("ops.sendsms.open");
|
|
|
|
|
|
if (!"true".equals(open)){
|
|
|
logger.info("Send msg type {} content {} alarmInfo {} moniole {}...refused open {}", type, content, alarmInfo, mobile,open);
|
|
|
return false;
|
|
|
}
|
|
|
|
...
|
...
|
|