From bc6ab1dd04e5e42f07dc832f1fc1f39d8b684adb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Mon, 28 Sep 2020 16:08:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9E=9C=E5=9B=ADnewearningprice?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxutils/weixinmsg/weixinmsg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxutils/weixinmsg/weixinmsg.go b/business/jxutils/weixinmsg/weixinmsg.go index 04400f844..a0d2d1a80 100644 --- a/business/jxutils/weixinmsg/weixinmsg.go +++ b/business/jxutils/weixinmsg/weixinmsg.go @@ -179,7 +179,7 @@ func getOrderDetailBrief(order *model.GoodsOrder) (brief string) { //TODO 2020-07-20 果园和菜市不同 var price int64 if beego.BConfig.RunMode == "jxgy" { - price = order.EarningPrice + price = order.NewEarningPrice } else { if order.EarningType == model.EarningTypePoints { price = order.ActualPayPrice