...
|
...
|
@@ -14,6 +14,7 @@ use Plugin\Helpers; |
|
|
|
|
|
class CouponController extends AbstractAction
|
|
|
{
|
|
|
private $contentCode = '';
|
|
|
|
|
|
/**
|
|
|
* 领券楼层数据列表
|
...
|
...
|
@@ -25,13 +26,16 @@ class CouponController extends AbstractAction |
|
|
$receiveData = filter_input_array(INPUT_GET, array(
|
|
|
'contentCode' => FILTER_DEFAULT
|
|
|
));
|
|
|
$this->contentCode = $receiveData['contentCode'];
|
|
|
$result = array();
|
|
|
|
|
|
// 正常接口调用
|
|
|
// $uid = $this->getUid();
|
|
|
// $resource = CouponData::getCouponRousource($receiveData['contentCode'],$uid);
|
|
|
$uid = $this->getUid();
|
|
|
//tar debug
|
|
|
// CouponFloorProcess::debugOut($uid);
|
|
|
$resource = CouponData::getCouponRousource($receiveData['contentCode'], $uid);
|
|
|
// 数据写死,调用接口,测试使用
|
|
|
$resource = CouponData::getCouponRousource('b38b9c4f1c76f89533e9214629b458e4', 8040277);
|
|
|
// $resource = CouponData::getCouponRousource('b38b9c4f1c76f89533e9214629b458e4', 8040277);
|
|
|
if (isset($resource['code']) && $resource['code'] == 200) {
|
|
|
$result = CouponFloorProcess::getContent($resource['data']);
|
|
|
}
|
...
|
...
|
|