Authored by 郭成尧

提示信息优化

... ... @@ -52,6 +52,9 @@
<input id="shareImg" type="hidden" value="{{shareImg}}">
<input id="shareTitle" type="hidden" value="{{shareTitle}}">
{{/ share}}
{{#if noData}}
{{/if}}
{{/ content}}
</div>
<div class="floor-mask"></div>
... ...
... ... @@ -39,7 +39,12 @@ class CouponController extends AbstractAction
if (isset($resource['code']) && $resource['code'] === 200) {
$result = CouponFloorProcess::getContent($resource['data']);
}else{
echo '没有返回数据!';exit;
$this->_view->display('index', array(
'content' => array(
'noData' => true,
),
'floorPage' => true
));
}
// 分享
$shareData = CouponFloorProcess::getShare($receiveData['code'], '领券中心');
... ...