Showing
1 changed file
with
1 additions
and
18 deletions
@@ -14,18 +14,6 @@ class YuanxiaoController extends HuodongAction | @@ -14,18 +14,6 @@ class YuanxiaoController extends HuodongAction | ||
14 | const ENCRYPT_KEY = 'iamgtskkwhoareyou'; | 14 | const ENCRYPT_KEY = 'iamgtskkwhoareyou'; |
15 | 15 | ||
16 | /** | 16 | /** |
17 | - * 通过当前用户审判是否跳到登录页 | ||
18 | - * | ||
19 | - */ | ||
20 | - private function auditJumpLogin() | ||
21 | - { | ||
22 | - $uid = $this->getLoggedUid(); | ||
23 | - if (!$uid || !is_numeric($uid)) { | ||
24 | - $this->go(Helpers::url('/signin.html', array('refer' => Helpers::url('/cuxiao/yuanxiao/info')), 'default')); | ||
25 | - } | ||
26 | - } | ||
27 | - | ||
28 | - /** | ||
29 | * 元宵抽签 | 17 | * 元宵抽签 |
30 | */ | 18 | */ |
31 | public function indexAction() | 19 | public function indexAction() |
@@ -42,7 +30,7 @@ class YuanxiaoController extends HuodongAction | @@ -42,7 +30,7 @@ class YuanxiaoController extends HuodongAction | ||
42 | 'shareDesc' => '元宵节快乐!一起来YOHO!BUY有货玩2016年潮流开运测试!', | 30 | 'shareDesc' => '元宵节快乐!一起来YOHO!BUY有货玩2016年潮流开运测试!', |
43 | 'shareImg' => 'http://img02.yohoboys.com/staticimg/2016/02/19/16/02dbd38c84eccf1097b7e240452f0de856.png', | 31 | 'shareImg' => 'http://img02.yohoboys.com/staticimg/2016/02/19/16/02dbd38c84eccf1097b7e240452f0de856.png', |
44 | 'shareUrl' => Helpers::url('/cuxiao/yuanxiao/index'), | 32 | 'shareUrl' => Helpers::url('/cuxiao/yuanxiao/index'), |
45 | - 'playUrl' => $this->isApp() ? $playUrl . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $playUrlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"Y"}}': $playUrl, | 33 | + 'playUrl' => $this->isApp() ? $playUrl . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $playUrlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}': $playUrl, |
46 | )); | 34 | )); |
47 | } | 35 | } |
48 | 36 | ||
@@ -128,8 +116,6 @@ class YuanxiaoController extends HuodongAction | @@ -128,8 +116,6 @@ class YuanxiaoController extends HuodongAction | ||
128 | */ | 116 | */ |
129 | public function waitAction() | 117 | public function waitAction() |
130 | { | 118 | { |
131 | - // 审判跳转登录页 | ||
132 | - // $this->auditJumpLogin(); | ||
133 | $activityUrl = Helpers::url('/cuxiao/yuanxiao/result'); | 119 | $activityUrl = Helpers::url('/cuxiao/yuanxiao/result'); |
134 | 120 | ||
135 | $this->_view->display('wait', array( | 121 | $this->_view->display('wait', array( |
@@ -150,9 +136,6 @@ class YuanxiaoController extends HuodongAction | @@ -150,9 +136,6 @@ class YuanxiaoController extends HuodongAction | ||
150 | */ | 136 | */ |
151 | public function resultAction() | 137 | public function resultAction() |
152 | { | 138 | { |
153 | - // 审判跳转登录页 | ||
154 | - //$this->auditJumpLogin(); | ||
155 | - | ||
156 | $result = $this->getCookie('yuanxiaochouqian', null); | 139 | $result = $this->getCookie('yuanxiaochouqian', null); |
157 | if (empty($result)) { // 未取到信息就重新测试 | 140 | if (empty($result)) { // 未取到信息就重新测试 |
158 | $this->go(Helpers::url('/cuxiao/yuanxiao/info')); | 141 | $this->go(Helpers::url('/cuxiao/yuanxiao/info')); |
-
Please register or login to post a comment