Authored by 郭成尧

把被梁删掉的代码补回去

... ... @@ -37,8 +37,15 @@ class CouponController extends AbstractAction
$uid = $this->getUid();
}
$resource = CouponData::getCouponRousource($receiveData['code'], $uid);
if (isset($resource['code']) && $resource['code'] == 200) {
if (isset($resource['code']) && $resource['code'] === 200) {
$result = CouponFloorProcess::getContent($resource['data']);
}else{
$this->_view->display('index', array(
'content' => array(
'noData' => true,
),
'floorPage' => true
));
}
// 分享
$shareData = CouponFloorProcess::getShare($receiveData['code'], '领券中心');
... ...