This commit is contained in:
苏尹岚
2021-01-21 09:09:13 +08:00
parent a32f1d098d
commit f3f091f6ab

View File

@@ -2,6 +2,7 @@ package weixinmsg
import ( import (
"fmt" "fmt"
"math"
"strings" "strings"
"time" "time"
@@ -844,7 +845,7 @@ func NotifyAdjustOrder(order *model.GoodsOrder) (err error) {
"color": WX_NEW_ORDER_TEMPLATE_COLOR, "color": WX_NEW_ORDER_TEMPLATE_COLOR,
}, },
"keyword1": map[string]interface{}{ "keyword1": map[string]interface{}{
"value": jxutils.IntPrice2Standard(order.NewEarningPrice), "value": math.Round(jxutils.IntPrice2Standard(order.NewEarningPrice)),
"color": WX_NEW_ORDER_TEMPLATE_COLOR, "color": WX_NEW_ORDER_TEMPLATE_COLOR,
}, },
"keyword2": map[string]interface{}{ "keyword2": map[string]interface{}{