diff --git a/business/jxutils/weixinmsg/weixinmsg.go b/business/jxutils/weixinmsg/weixinmsg.go index abd7e5802..cf385f666 100644 --- a/business/jxutils/weixinmsg/weixinmsg.go +++ b/business/jxutils/weixinmsg/weixinmsg.go @@ -339,23 +339,27 @@ func NotifyStoreOpRequestStatus(isAccepted bool, storeID, nameID int, spuName st func NotifyStoreMessage(storeID, msgID, msgStatusID int, title, content string) (err error) { globals.SugarLogger.Debugf("NotifyStoreMessage storeID:%d, msgID:%d, title:%s, content:%s", storeID, msgID, title, content) - templateID := "gIG2olBZtQbjXmp6doNB_dESu60By5xuXYOGxksLv3Y" + templateID := "7ngcTFYiUFw66BMzIYntM1tpy-xZkJwlcCT5pVtXwtw" fileURL := fmt.Sprintf("%s%d", WX_TO_STORE_SKU_PAGE_URL, storeID) data := map[string]interface{}{ "first": map[string]interface{}{ - "value": title, + "value": content, "color": "#333333", }, "keyword1": map[string]interface{}{ - "value": content, + "value": title, "color": "#2E408E", }, "keyword2": map[string]interface{}{ - "value": utils.Time2Str(time.Now()), + "value": "请忽略", + "color": "#2E408E", + }, + "keyword3": map[string]interface{}{ + "value": "请忽略", "color": "#2E408E", }, "remark": map[string]interface{}{ - "value": "点击查看详情", + "value": "", }, } return SendMsgToStore(storeID, templateID, fileURL, data)