This commit is contained in:
suyl
2021-08-27 17:45:53 +08:00
parent 9509c5e7b7
commit f1212c0fc0

View File

@@ -71,6 +71,8 @@ func SendVoiceMsg(mobileList []string, templateParam map[string]interface{}) (er
if *res.Body.Code != "OK" {
globals.SugarLogger.Debugf("SendVoiceMsg mobileNum:%s failed with response:%s", mobileNum, utils.Format4Output(res, true))
errList.AddErr(fmt.Errorf(*res.Body.Message))
} else {
globals.SugarLogger.Debugf("SendVoiceMsg mobileNum:%s success with response:%s", mobileNum, utils.Format4Output(res, true))
}
}
}