Authored by qinchao

语音告警先停了

... ... @@ -77,9 +77,10 @@ public class VoiceMsgServiceImpl implements VoiceMsgService {
voiceSms.setSig(MD5Util.encryption(sendsmsConfig.getQcloudSmsKey() + str));
voiceSms.setTel(tel);
DEBUG.info("send voice notice msg,content:{}", JSON.toJSONString(voiceSms));
String result = httpRestClientService.doPostStringJson(sendsmsConfig.getQcloudVoiceUrl(), JSON.toJSONString(voiceSms));
// String result = httpRestClientService.doPostStringJson(sendsmsConfig.getQcloudVoiceUrl(), JSON.toJSONString(voiceSms));
String result="stop";
DEBUG.info("send voice notice msg,result:{}", result);
monitorAlarmMapper.insertAlarmMsg(InfluxDBContants.AWS, "voice", promptfile, "null", result!=null ? "successed" : "faild", result,mobile);
// monitorAlarmMapper.insertAlarmMsg(InfluxDBContants.AWS, "voice", promptfile, "null", result!=null ? "successed" : "faild", result,mobile);
}
} catch (Exception e) {
... ...