Parcourir la source

下单入库,最大分红需要乘以99%

lcl il y a 1 an
Parent
commit
f8a833465e

+ 1 - 1
Areas/Api/Controllers/v1/MainServer/ConsumerOrdersController.cs

@@ -336,7 +336,7 @@ namespace MySystem.Areas.Api.Controllers.v1
                     PayMoney = PayMoney, //支付金额
                     SnNo = SnNo, //SN号
                     OrderNo = OrderNo,
-                    MaxDivi = ActFlag ? PayMoney * merchantset.DiviPercent / 100 : 0,
+                    MaxDivi = ActFlag ? (PayMoney * 0.99M) * merchantset.DiviPercent / 100 : 0,
                     IsAct = ActFlag ? 1u : 0u,
                     MerchantActualAmount = ActFlag ? PayMoney * merchantset.GetPercent / 100 : PayMoney,
                     SeoDescription = Newtonsoft.Json.JsonConvert.SerializeObject(merchantset),