浏览代码

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

lcl 1 年之前
父节点
当前提交
e544e6b351
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Areas/Api/Controllers/v1/MainServer/ConsumerOrdersController.cs

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

@@ -350,7 +350,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),