From 863667b05df75ede4b6186b5e8439b738e7f8fa8 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, 27 Jul 2020 17:23:00 +0800 Subject: [PATCH] xx --- business/jxutils/jxutils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxutils/jxutils.go b/business/jxutils/jxutils.go index 41d5e9604..327f28075 100644 --- a/business/jxutils/jxutils.go +++ b/business/jxutils/jxutils.go @@ -589,7 +589,7 @@ func RefreshOrderSkuRelated(order *model.GoodsOrder) *model.GoodsOrder { } func RefreshOrderEarningPrice2(order *model.GoodsOrder, payPercentage int) *model.GoodsOrder { - if payPercentage <= 50 { + if order.EarningType == model.EarningTypePoints { if order.VendorID == model.VendorIDJDShop || order.VendorID == model.VendorIDJX { order.NewEarningPrice = order.TotalShopMoney * int64((100 - payPercentage/2)) / 100 } else {