aa
This commit is contained in:
@@ -71,6 +71,8 @@ func SendVoiceMsg(mobileList []string, templateParam map[string]interface{}) (er
|
|||||||
if *res.Body.Code != "OK" {
|
if *res.Body.Code != "OK" {
|
||||||
globals.SugarLogger.Debugf("SendVoiceMsg mobileNum:%s failed with response:%s", mobileNum, utils.Format4Output(res, true))
|
globals.SugarLogger.Debugf("SendVoiceMsg mobileNum:%s failed with response:%s", mobileNum, utils.Format4Output(res, true))
|
||||||
errList.AddErr(fmt.Errorf(*res.Body.Message))
|
errList.AddErr(fmt.Errorf(*res.Body.Message))
|
||||||
|
} else {
|
||||||
|
globals.SugarLogger.Debugf("SendVoiceMsg mobileNum:%s success with response:%s", mobileNum, utils.Format4Output(res, true))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user