|
@@ -89,13 +89,13 @@ func sendTemplateMsg(sendUrl string, sendMap map[string]interface{}, items []*wx
|
|
|
data, err := json.Marshal(sendMap)
|
|
|
if err != nil {
|
|
|
fmt.Println("SendTemplateMsgOne Marshal Err:", err.Error())
|
|
|
- utils.FileLog.Info("SendTemplateMsgOne Marshal Err:%s", err.Error())
|
|
|
+ utils.FileLog.Info(fmt.Sprintf("SendTemplateMsgOne Marshal Err:%s", err.Error()))
|
|
|
return err
|
|
|
}
|
|
|
err = toSendTemplateMsg(sendUrl, data)
|
|
|
if err != nil {
|
|
|
fmt.Println("send err:", err.Error())
|
|
|
- utils.FileLog.Info("ToSendTemplateMsg Err:%s", err.Error())
|
|
|
+ utils.FileLog.Info(fmt.Sprintf("ToSendTemplateMsg Err:%s", err.Error()))
|
|
|
}
|
|
|
}
|
|
|
return
|