|
@@ -37,15 +37,8 @@ class CouponController extends AbstractAction |
|
@@ -37,15 +37,8 @@ class CouponController extends AbstractAction |
37
|
$uid = $this->getUid();
|
37
|
$uid = $this->getUid();
|
38
|
}
|
38
|
}
|
39
|
$resource = CouponData::getCouponRousource($receiveData['code'], $uid);
|
39
|
$resource = CouponData::getCouponRousource($receiveData['code'], $uid);
|
40
|
- if (isset($resource['code']) && $resource['code'] === 200) {
|
40
|
+ if (isset($resource['code']) && $resource['code'] == 200) {
|
41
|
$result = CouponFloorProcess::getContent($resource['data']);
|
41
|
$result = CouponFloorProcess::getContent($resource['data']);
|
42
|
- }else{
|
|
|
43
|
- $this->_view->display('index', array(
|
|
|
44
|
- 'content' => array(
|
|
|
45
|
- 'noData' => true,
|
|
|
46
|
- ),
|
|
|
47
|
- 'floorPage' => true
|
|
|
48
|
- ));
|
|
|
49
|
}
|
42
|
}
|
50
|
// 分享
|
43
|
// 分享
|
51
|
$shareData = CouponFloorProcess::getShare($receiveData['code'], '领券中心');
|
44
|
$shareData = CouponFloorProcess::getShare($receiveData['code'], '领券中心');
|