|
@@ -34,6 +34,8 @@ class CouponController extends AbstractAction |
|
@@ -34,6 +34,8 @@ class CouponController extends AbstractAction |
34
|
if (isset($resource['code']) && $resource['code'] == 200) {
|
34
|
if (isset($resource['code']) && $resource['code'] == 200) {
|
35
|
$result = CouponFloorProcess::getContent($resource['data']);
|
35
|
$result = CouponFloorProcess::getContent($resource['data']);
|
36
|
}
|
36
|
}
|
|
|
37
|
+ print_r('<br/>');
|
|
|
38
|
+ var_dump($result);
|
37
|
$this->_view->display('index', array(
|
39
|
$this->_view->display('index', array(
|
38
|
'floor' => $result,
|
40
|
'floor' => $result,
|
39
|
'floorPage' => true
|
41
|
'floorPage' => true
|
|
@@ -47,6 +49,8 @@ class CouponController extends AbstractAction |
|
@@ -47,6 +49,8 @@ class CouponController extends AbstractAction |
47
|
*/
|
49
|
*/
|
48
|
public function receiveCouponAction()
|
50
|
public function receiveCouponAction()
|
49
|
{
|
51
|
{
|
|
|
52
|
+ //tar mark 接口数据测试
|
|
|
53
|
+// var_dump(CouponData::receiveCoupon(7893817,23121));exit;
|
50
|
$returnData = array();
|
54
|
$returnData = array();
|
51
|
// 获取优惠券 ID
|
55
|
// 获取优惠券 ID
|
52
|
$receiveData = filter_input_array(INPUT_GET, array(
|
56
|
$receiveData = filter_input_array(INPUT_GET, array(
|