Authored by 郭成尧

Merge branch 'feature/coupon' into beta/wap

... ... @@ -37,8 +37,10 @@ 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{
echo '没有返回数据!';exit;
}
// 分享
$shareData = CouponFloorProcess::getShare($receiveData['code'], '领券中心');
... ...