zxhxx 1 年之前
父節點
當前提交
fea9b3b7f9
共有 1 個文件被更改,包括 4 次插入1 次删除
  1. 4 1
      Model/Cart/MCart.Class.php

+ 4 - 1
Model/Cart/MCart.Class.php

@@ -1772,13 +1772,16 @@ class MCart
             }
             $inventoryMap[$shopId] = $inventoryResult->getData();
         }
-
+        dump($skuIds)  ;
         //获取当前skuIds的主单位,及换算比例
         $skuConversionResult = $this->objMSku->getConversion($skuIds);
         if (!$skuConversionResult->isSuccess()) {
             return ResultWrapper::fail($skuConversionResult->getData(),$skuConversionResult->getErrorCode());
         }
         $skuConversionMapping = $skuConversionResult->getData();
+        dump($skuConversionMapping);
+        dump($data);
+        exit();
         foreach ($data as $key => &$goods) {
             $thisSku = $skuConversionMapping[$goods['skuId']];
             if (!isset($inventoryMap[$goods['shopId']])){