...
|
...
|
@@ -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);
|
...
|
...
|
|