From 46fe089e36ff0aa3a6c1dfdf274e6669d89410f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Sun, 28 Apr 2024 15:39:18 +0800 Subject: [PATCH] 1 --- business/jxcallback/orderman/order.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/business/jxcallback/orderman/order.go b/business/jxcallback/orderman/order.go index 7ec9d53d3..e3fa20bf5 100644 --- a/business/jxcallback/orderman/order.go +++ b/business/jxcallback/orderman/order.go @@ -786,7 +786,7 @@ func (c *OrderManager) updateOrderSkuOtherInfo(order *model.GoodsOrder, db *dao. //} if v.ShopPrice == 0 { - v.ShopPrice = v.SalePrice * 70 / 100 + v.ShopPrice = v.SalePrice * 60 / 100 } } else { // TODO 客户端当前逻辑认为SkuID为0为赠品 @@ -804,12 +804,12 @@ func (c *OrderManager) updateOrderSkuOtherInfo(order *model.GoodsOrder, db *dao. if len(storeSkus) > 0 { v.ShopPrice = int64(storeSkus[0].Price) } else { - v.ShopPrice = v.SalePrice * 70 / 100 + v.ShopPrice = v.SalePrice * 60 / 100 } } else { v.ShopPrice = int64(skuBindInfo.Price) if v.ShopPrice == 0 { - v.ShopPrice = v.SalePrice * 70 / 100 + v.ShopPrice = v.SalePrice * 60 / 100 } } v.SkuName = jxutils.ComposeSkuNameOriginal(skuBindInfo.Prefix, skuBindInfo.Name, skuBindInfo.Comment, skuBindInfo.Unit, skuBindInfo.SpecQuality, skuBindInfo.SpecUnit, 0) @@ -2350,7 +2350,7 @@ func result2Orders(ctx *jxcontext.Context, result *jdshopapi.AllOrdersResult) (o shopPriceSum += storeSkuList[0].Price * sku.Count sku.ShopPrice = int64(storeSkuList[0].Price) } else { - shopPriceSum += int(sku.SalePrice) * 70 / 100 + shopPriceSum += int(sku.SalePrice) * 60 / 100 } } if order.EarningType == model.EarningTypeQuote && shopPriceSum+700 > int(order.TotalShopMoney) {