...
|
...
|
@@ -165,6 +165,7 @@ class IndexController extends AbstractAction |
|
|
$data += CartModel::getCartData($uid, $shoppingKey, $cartType, false, true);
|
|
|
|
|
|
// 渲染模板
|
|
|
var_dump($data);
|
|
|
$this->_view->display('gift-advance-good', $data);
|
|
|
}
|
|
|
|
...
|
...
|
@@ -425,10 +426,10 @@ class IndexController extends AbstractAction |
|
|
$this->echoJson($result);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
/**
|
|
|
* 加入购物车
|
|
|
*
|
|
|
*
|
|
|
* @param string productSku 商品的SKU
|
|
|
* @param int buyNumber 购买数量
|
|
|
* @param int promotionId 促销ID, 加价购有关
|
...
|
...
|
@@ -460,5 +461,5 @@ class IndexController extends AbstractAction |
|
|
|
|
|
$this->echoJson($result);
|
|
|
}
|
|
|
|
|
|
|
|
|
} |
...
|
...
|
|