...
|
...
|
@@ -20,10 +20,12 @@ class DetailController extends AbstractAction |
|
|
public function indexAction()
|
|
|
{
|
|
|
$productId = $this->param('productId');
|
|
|
// $productId = 356648;
|
|
|
if (!is_numeric($productId)) {
|
|
|
$this->error();
|
|
|
}
|
|
|
$goodsId = $this->param('goodsId');
|
|
|
// $goodsId = 455366;
|
|
|
if (!is_numeric($goodsId)) {
|
|
|
$this->error();
|
|
|
}
|
...
|
...
|
@@ -35,6 +37,7 @@ class DetailController extends AbstractAction |
|
|
}
|
|
|
|
|
|
$data = DetailModel::getBaseInfo($productId, $goodsId, $uid, $vipLevel);
|
|
|
// \Plugin\DataProcess\CouponFloorProcess::debugOut($data);
|
|
|
if (array() === $data) {
|
|
|
$this->error();
|
|
|
}
|
...
|
...
|
|