Commit 395cb46b authored by liuyuzhen's avatar liuyuzhen

购物车商品规格图片问题

parent 9660b204
...@@ -114,7 +114,7 @@ class GroupSaleServiceModel extends \Business\AbstractModel { ...@@ -114,7 +114,7 @@ class GroupSaleServiceModel extends \Business\AbstractModel {
//$pBundlingList = $this->getGroupListForCart($blIds); //$pBundlingList = $this->getGroupListForCart($blIds);
//var_dump($pBundlingList); //var_dump($pBundlingList);
$pBundlingList = $this->getPBundlingListByBlIds($blIds,\Our\DbNameConst::salveDBConnectName,true); $pBundlingList = $this->getPBundlingListByBlIds($blIds,\Our\DbNameConst::salveDBConnectName,true);
//$pBundlingList = $this->getResizeGroupSaleGoodsList($pBundlingList); $pBundlingList = $this->getResizeGroupSaleGoodsList($pBundlingList);
} }
$goodsCommonIds = $cartListData['goodsCommonIds']; $goodsCommonIds = $cartListData['goodsCommonIds'];
$goodsIds = $cartListData['goodsIds']; $goodsIds = $cartListData['goodsIds'];
...@@ -166,7 +166,7 @@ class GroupSaleServiceModel extends \Business\AbstractModel { ...@@ -166,7 +166,7 @@ class GroupSaleServiceModel extends \Business\AbstractModel {
$tempObj['goodsPrice'] = $tempPrice; $tempObj['goodsPrice'] = $tempPrice;
} }
//$tempObj['goodsImage'] = $pBundling['image']; $tempObj['goodsImage'] = $pBundling['image'];
$tempObj['goodsList'] = \Our\Common::convertUnderline($pBundling['goodsList']); $tempObj['goodsList'] = \Our\Common::convertUnderline($pBundling['goodsList']);
$tempObj['goodsOriginalPrice'] = $pBundling['sumPrice']; $tempObj['goodsOriginalPrice'] = $pBundling['sumPrice'];
} else if ($tempCart['type'] == \Our\ApiConst::addGoodsToCart) { } else if ($tempCart['type'] == \Our\ApiConst::addGoodsToCart) {
...@@ -369,7 +369,7 @@ class GroupSaleServiceModel extends \Business\AbstractModel { ...@@ -369,7 +369,7 @@ class GroupSaleServiceModel extends \Business\AbstractModel {
} }
$v['goodsList'] = $goods; $v['goodsList'] = $goods;
} }
$groupList[] = $v; $groupList[$k] = $v;
} }
return $groupList; return $groupList;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment