Authored by cailing

本来生活判断登录

... ... @@ -7,7 +7,7 @@ use LibModels\Wap\Coupon\CouponData;
class LifeController extends AbstractAction
{
const COUPON_ID = 13024;
const COUPON_ID = 13026;
public function indexAction()
{
... ... @@ -41,15 +41,19 @@ class LifeController extends AbstractAction
public function loginAction()
{
$uid = $this->getUid();
if (!$uid) {
$this->go(Helpers::url('/signin.html', array('refer' => Helpers::url('/life/index'))));
}
$this->_view->display('login',array(
$this->_view->display('login', array(
'lifePage' => true));
}
public function couponAction()
{
//获取手机号,传优惠码
$this->_view->display('coupon',array(
$this->_view->display('coupon', array(
'couponPage' => true));
}
... ...