Authored by hf

fixes bug to detail page

... ... @@ -17,18 +17,16 @@ class DetailController extends AbstractAction
public function indexAction()
{
$productId = $this->param('productId');
$productId = 22399;
if (!is_numeric($productId)) {
$this->error();
}
$goodsId = $this->param('goodsId');
$goodsId = 32443;
if (!is_numeric($goodsId)) {
$this->error();
}
$uid = $this->getUid();
$data = \Product\DetailModel::getBaseInfo($productId, $goodsId, $uid);
$data = \Product\DetailModel::getBaseInfo($productId, $goodsId, $uid);
if (array() === $data) {
$this->error();
}
... ...