...
|
...
|
@@ -21,7 +21,10 @@ class CouponController extends AbstractAction |
|
|
*/
|
|
|
public function floorAction()
|
|
|
{
|
|
|
$this->setNavHeader('领券中心', true, SITE_MAIN);
|
|
|
|
|
|
if(!$this->isApp()){
|
|
|
$this->setNavHeader('领券中心', true, SITE_MAIN);
|
|
|
}
|
|
|
$receiveData = filter_input_array(INPUT_GET, array(
|
|
|
'code' => FILTER_DEFAULT
|
|
|
));
|
...
|
...
|
@@ -53,7 +56,7 @@ class CouponController extends AbstractAction |
|
|
// 跳转 URl
|
|
|
$playUrl = Helpers::url('/coupon/floor');
|
|
|
// 判断用户是否登录
|
|
|
if (!$this->getUid() || !is_numeric($this->getUid())) {
|
|
|
if ((!$this->getUid() || !is_numeric($this->getUid())) || (!$this->get('uid') || !is_numeric($this->get('uid')))) {
|
|
|
// 用户未登录,跳转登录页面
|
|
|
$returnData['noLogin'] = true;
|
|
|
if (!$this->isApp()) {
|
...
|
...
|
|