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