Commit 0e02fd07 authored by wwccw0591's avatar wwccw0591

pc

parent 76d97b8a
......@@ -365,10 +365,11 @@ class GoodsModel extends \DAO\AbstractModel {
$orderGoodses=array();
if(!empty($goodsGroup)){
$goodsGroup=unserialize($goodsGroup);
$goodsGroup=json_decode(json_encode($goodsGroup));
foreach($goodsGroup as $orderGoods){
// if(isset($orderGoods['goodsSpec'])){
// unset($orderGoods['goodsSpec']);
// }
if(isset($orderGoods['goodsSpec'])){
unset($orderGoods['goodsSpec']);
}
$orderGoods['goodsImage']=\Our\ImageUtil::getGoodsImgUrl($orderGoods['goodsImagePath'],\Our\ImageConst::goods);
unset($orderGoods['goodsImagePath']);
array_push($orderGoodses,$orderGoods);
......
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