From f3f091f6ab978f2e44a6f2f9fdf4f9d24679aa0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 21 Jan 2021 09:09:13 +0800 Subject: [PATCH] aa --- business/jxutils/weixinmsg/weixinmsg.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/business/jxutils/weixinmsg/weixinmsg.go b/business/jxutils/weixinmsg/weixinmsg.go index a8a732f74..19bfaa282 100644 --- a/business/jxutils/weixinmsg/weixinmsg.go +++ b/business/jxutils/weixinmsg/weixinmsg.go @@ -2,6 +2,7 @@ package weixinmsg import ( "fmt" + "math" "strings" "time" @@ -844,7 +845,7 @@ func NotifyAdjustOrder(order *model.GoodsOrder) (err error) { "color": WX_NEW_ORDER_TEMPLATE_COLOR, }, "keyword1": map[string]interface{}{ - "value": jxutils.IntPrice2Standard(order.NewEarningPrice), + "value": math.Round(jxutils.IntPrice2Standard(order.NewEarningPrice)), "color": WX_NEW_ORDER_TEMPLATE_COLOR, }, "keyword2": map[string]interface{}{