From de83820866a363deea40f4d464d951d63ea9b72e Mon Sep 17 00:00:00 2001 From: richboo111 Date: Tue, 14 Nov 2023 17:42:09 +0800 Subject: [PATCH] wxmsg --- business/jxutils/weixinmsg/weixinmsg.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/business/jxutils/weixinmsg/weixinmsg.go b/business/jxutils/weixinmsg/weixinmsg.go index a683c728c..d4d7f8dcc 100644 --- a/business/jxutils/weixinmsg/weixinmsg.go +++ b/business/jxutils/weixinmsg/weixinmsg.go @@ -364,7 +364,7 @@ func NotifyWaybillStatus(bill *model.Waybill, order *model.GoodsOrder, isBillAlr "color": titleColor, }, "keyword1": map[string]interface{}{ - "value": bill.VendorOrderID, + "value": storeDetail.Name + "," + bill.VendorOrderID, "color": WX_NEW_ORDER_TEMPLATE_COLOR, }, "keyword2": map[string]interface{}{ @@ -451,7 +451,7 @@ func NotifyOrderChanged(order *model.GoodsOrder) (err error) { "color": WX_NEW_ORDER_TEMPLATE_COLOR, }, "keyword1": map[string]interface{}{ - "value": order.VendorOrderID, + "value": storeDetail.Name + "," + order.VendorOrderID, "color": WX_NEW_ORDER_TEMPLATE_COLOR, }, "keyword2": map[string]interface{}{ @@ -523,7 +523,7 @@ func NotifyOrderCanceled(order *model.GoodsOrder) (err error) { "color": WX_NEW_ORDER_TEMPLATE_COLOR, }, "orderName": map[string]interface{}{ - "value": fmt.Sprintf("%s第%d号订单, %s", model.VendorChineseNames[order.VendorID], order.OrderSeq, order.VendorOrderID), + "value": storeDetail.Name + "," + fmt.Sprintf("%s第%d号订单, %s", model.VendorChineseNames[order.VendorID], order.OrderSeq, order.VendorOrderID), "color": VendorColors[order.VendorID], }, "remark": map[string]interface{}{ @@ -571,7 +571,7 @@ func PushJDBadCommentToWeiXin(comment *legacymodel.JxBadComments, isBadComment b "color": WX_HIGHLEVEL_TEMPLATE_COLOR, }, "keyword1": map[string]interface{}{ - "value": genJdCommentRemark(comment), + "value": storeDetail.Name + "," + genJdCommentRemark(comment), "color": WX_TEMPLATE_VENDERCOLOR_BAD_COMMENTS, }, "keyword2": map[string]interface{}{ @@ -981,7 +981,7 @@ func NotifyAdjustOrder(order *model.GoodsOrder) (err error) { "color": WX_NEW_ORDER_TEMPLATE_COLOR, }, "keyword1": map[string]interface{}{ - "value": "请点击查看", + "value": storeDetail.Name + "," + "调整了订单商品,请点击查看", "color": WX_NEW_ORDER_TEMPLATE_COLOR, }, "keyword2": map[string]interface{}{