Browse Source

修改售前接口增加金额字段

zhuyiyi 5 months ago
parent
commit
8eeabc720f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      SiteCore/taobao/preSalesHelper.cs

+ 1 - 0
SiteCore/taobao/preSalesHelper.cs

@@ -2548,6 +2548,7 @@ namespace SiteCore.Handler
                     }
                     ceErpTradeCell.ProductId = tmcHelper.getProductIdByName(item.cate3Id);
                     ceErpTradeCell.isDianziOrder = item.isDianziOrder;
+                    ceErpTradeCell.payment = string.IsNullOrEmpty(item.splitAmount) ? 0 : Convert.ToDouble(item.splitAmount);
                     ceErpTradeCellExtend.spu_id = item.spuId;
                     ceErpTradeCellExtend = commonHelper.sendSpuData(ceErpTradeCell, ceErpTradeCellExtend);
                     if (ceErpTradeCellExtend != null)