From 878b5d85de6ecb40e6a3a91151e4c8356e6ee9c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Fri, 13 Nov 2020 15:34:48 +0800 Subject: [PATCH] chengdu --- business/jxutils/weixinmsg/weixinmsg.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/business/jxutils/weixinmsg/weixinmsg.go b/business/jxutils/weixinmsg/weixinmsg.go index 8ba885553..055d10208 100644 --- a/business/jxutils/weixinmsg/weixinmsg.go +++ b/business/jxutils/weixinmsg/weixinmsg.go @@ -184,7 +184,12 @@ func getOrderDetailBrief(order *model.GoodsOrder) (brief string) { if order.EarningType == model.EarningTypePoints { price = order.ActualPayPrice } else { - price = order.ShopPrice + storeDetail, _ := dao.GetStoreDetail(dao.GetDB(), jxutils.GetSaleStoreIDFromOrder(order), order.VendorID) + if storeDetail.CityCode == 510100 { + price = order.ActualPayPrice + } else { + price = order.ShopPrice + } } } sb.WriteString(jxutils.IntPrice2StandardString(price))