...
|
...
|
@@ -34,11 +34,6 @@ class CouponController extends AbstractAction |
|
|
if (isset($resource['code']) && $resource['code'] == 200) {
|
|
|
$result = CouponFloorProcess::getContent($resource['data']);
|
|
|
}
|
|
|
// tar modified 1604191441
|
|
|
header("Content-type:text/html;charset=utf-8");
|
|
|
echo '<pre>';
|
|
|
var_dump($result);
|
|
|
echo '</pre>';
|
|
|
$this->_view->display('index', array(
|
|
|
'floor' => $result,
|
|
|
'floorPage' => true
|
...
|
...
|
@@ -71,7 +66,7 @@ class CouponController extends AbstractAction |
|
|
}
|
|
|
} else {
|
|
|
// 登录后调用领券接口
|
|
|
$result = $this->getCouponHandler($receiveData['couponID']);
|
|
|
$result = CouponData::receiveCoupon($this->getUid(),$receiveData['couponID']);
|
|
|
switch ($result['code']) {
|
|
|
case 200:
|
|
|
$returnData = [
|
...
|
...
|
|