Commit 7aa7bc2f authored by wwccw0591's avatar wwccw0591

pc

parent 4d7cc50a
......@@ -365,9 +365,10 @@ class GoodsModel extends \DAO\AbstractModel {
$orderGoodses=array();
if(!empty($goodsGroup)){
$goodsGroup=unserialize($goodsGroup);
echo json_encode($goodsGroup);exit;
foreach($goodsGroup as $orderGoods){
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