Browse Source

价格问题修复

lifa 1 year ago
parent
commit
28c43ae2f6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/platform/ZhonTai.Admin/Services/DiTuiAPI/ProjectsService.cs

+ 1 - 1
src/platform/ZhonTai.Admin/Services/DiTuiAPI/ProjectsService.cs

@@ -122,7 +122,7 @@ namespace ZhonTai.Admin.Services.DiTuiAPI
                     if(priceConfig is null)
                     {
                         // 未单独设置佣金抽成 默认抽取 5% 取 一位小数
-                        projectItem.Price = (Convert.ToDecimal(projectItem.Price) - ProjectPriceService.GetDrawAmount(Convert.ToDecimal( projectItem.Price),Convert.ToDecimal(5.00))).ToString();
+                        projectItem.Price = (Convert.ToDecimal(maxPrice.ProjectPrice) - ProjectPriceService.GetDrawAmount(Convert.ToDecimal(maxPrice.ProjectPrice),Convert.ToDecimal(5.00))).ToString();
                     }
                     else
                     {