Authored by 郭成尧

保留测试数据并注释

@@ -20,10 +20,12 @@ class DetailController extends AbstractAction @@ -20,10 +20,12 @@ class DetailController extends AbstractAction
20 public function indexAction() 20 public function indexAction()
21 { 21 {
22 $productId = $this->param('productId'); 22 $productId = $this->param('productId');
  23 +// $productId = 356648;
23 if (!is_numeric($productId)) { 24 if (!is_numeric($productId)) {
24 $this->error(); 25 $this->error();
25 } 26 }
26 $goodsId = $this->param('goodsId'); 27 $goodsId = $this->param('goodsId');
  28 +// $goodsId = 455366;
27 if (!is_numeric($goodsId)) { 29 if (!is_numeric($goodsId)) {
28 $this->error(); 30 $this->error();
29 } 31 }
@@ -35,6 +37,7 @@ class DetailController extends AbstractAction @@ -35,6 +37,7 @@ class DetailController extends AbstractAction
35 } 37 }
36 38
37 $data = DetailModel::getBaseInfo($productId, $goodsId, $uid, $vipLevel); 39 $data = DetailModel::getBaseInfo($productId, $goodsId, $uid, $vipLevel);
  40 +// \Plugin\DataProcess\CouponFloorProcess::debugOut($data);
38 if (array() === $data) { 41 if (array() === $data) {
39 $this->error(); 42 $this->error();
40 } 43 }