diff --git a/business/jxutils/smsmsg/smsmsg.go b/business/jxutils/smsmsg/smsmsg.go index 4009fc90c..bbe7e75d0 100644 --- a/business/jxutils/smsmsg/smsmsg.go +++ b/business/jxutils/smsmsg/smsmsg.go @@ -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" }