Authored by hf

do add product detail page

framework @ 75bbc3b0
Subproject commit 119c247f5cf929aa1e059e40609bb16dd6b58f05
Subproject commit 75bbc3b075de19f239532f60c5995d06c5f814e2
... ...
... ... @@ -177,6 +177,7 @@ class DetailModel
public static function getSizeInfo($productSkn)
{
$sizeInfo = DetailData::sizeInfo($productSkn);
var_dump($sizeInfo);
}
... ...
... ... @@ -17,7 +17,13 @@ class DetailController extends AbstractAction
public function indexAction()
{
$productId = $this->param('productId', 123);
if (!is_numeric($productId)) {
$this->error();
}
$goodsId = $this->param('goodsId', 3241);
if (!is_numeric($goodsId)) {
$this->error();
}
$uid = $this->getUid();
$data = \Product\DetailModel::getBaseInfo($productId, $goodsId, $uid);
... ...