aa
This commit is contained in:
@@ -68,7 +68,7 @@ func SendVoiceMsg(mobileList []string, templateParam map[string]interface{}) (er
|
|||||||
if _err != nil {
|
if _err != nil {
|
||||||
errList.AddErr(err)
|
errList.AddErr(err)
|
||||||
}
|
}
|
||||||
if res.Body.Code != tea.String("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))
|
||||||
}
|
}
|
||||||
@@ -128,6 +128,7 @@ func NotifyPickOrder(order *model.GoodsOrder) (err error) {
|
|||||||
case model.NotifyTypeSMS:
|
case model.NotifyTypeSMS:
|
||||||
err = SendSMSMsg(mobileList, globals.SMSSignName, globals.SMSPickOrderTemplate, nil, order)
|
err = SendSMSMsg(mobileList, globals.SMSSignName, globals.SMSPickOrderTemplate, nil, order)
|
||||||
case model.NotifyTypeVoice:
|
case model.NotifyTypeVoice:
|
||||||
|
globals.SugarLogger.Debugf("NotifyPickOrder orderID: %s , smsNotify :%d", order.VendorOrderID, store.SMSNotify)
|
||||||
if store.MarketManPhone == "" {
|
if store.MarketManPhone == "" {
|
||||||
store.MarketManPhone = "18048531223"
|
store.MarketManPhone = "18048531223"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user