...
|
...
|
@@ -36,7 +36,7 @@ class CouponController extends AbstractAction |
|
|
$result = CouponFloorProcess::getContent($resource['data']);
|
|
|
}
|
|
|
|
|
|
// $this->debugOut($resource);
|
|
|
// CouponFloorProcess::debugOut($resource);
|
|
|
$this->_view->display('index', array(
|
|
|
'content' => $result,
|
|
|
'floorPage' => true
|
...
|
...
|
@@ -50,9 +50,7 @@ class CouponController extends AbstractAction |
|
|
*/
|
|
|
public function receiveCouponAction()
|
|
|
{
|
|
|
//tar mark 接口数据测试
|
|
|
// header("Content-type:text/html;charset=utf-8");
|
|
|
// var_dump(CouponData::receiveCoupon(7893817,1516));exit;
|
|
|
// CouponFloorProcess::debugOut(CouponData::receiveCoupon(7893817,1516));
|
|
|
$returnData = array();
|
|
|
// 获取优惠券 ID
|
|
|
$receiveData = filter_input_array(INPUT_GET, array(
|
...
|
...
|
@@ -233,18 +231,4 @@ class CouponController extends AbstractAction |
|
|
];
|
|
|
return $result;
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
*
|
|
|
* 数据输出
|
|
|
*
|
|
|
* @param $data
|
|
|
*/
|
|
|
public function debugOut($data){
|
|
|
header("Content-type:text/html;charset=utf-8");
|
|
|
echo '<pre>';
|
|
|
print_r($data);
|
|
|
echo '</pre>';
|
|
|
exit;
|
|
|
}
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|