Showing
1 changed file
with
2 additions
and
4 deletions
@@ -42,7 +42,7 @@ class YuanxiaoController extends HuodongAction | @@ -42,7 +42,7 @@ class YuanxiaoController extends HuodongAction | ||
42 | 'shareDesc' => '元宵节快乐!一起来YOHO!BUY有货玩2016年潮流开运测试!', | 42 | 'shareDesc' => '元宵节快乐!一起来YOHO!BUY有货玩2016年潮流开运测试!', |
43 | 'shareImg' => 'http://img02.yohoboys.com/staticimg/2016/02/19/16/02dbd38c84eccf1097b7e240452f0de856.png', | 43 | 'shareImg' => 'http://img02.yohoboys.com/staticimg/2016/02/19/16/02dbd38c84eccf1097b7e240452f0de856.png', |
44 | 'shareUrl' => Helpers::url('/cuxiao/yuanxiao/index'), | 44 | '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":"N"}}': $playUrl, | 45 | + 'playUrl' => $this->isApp() ? $playUrl . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $playUrlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"Y"}}': $playUrl, |
46 | )); | 46 | )); |
47 | } | 47 | } |
48 | 48 | ||
@@ -56,9 +56,7 @@ class YuanxiaoController extends HuodongAction | @@ -56,9 +56,7 @@ class YuanxiaoController extends HuodongAction | ||
56 | if (!$this->_isApp) { | 56 | if (!$this->_isApp) { |
57 | $this->go(Helpers::url('/signin.html', array('refer' => Helpers::url('/cuxiao/yuanxiao/info')), 'default')); | 57 | $this->go(Helpers::url('/signin.html', array('refer' => Helpers::url('/cuxiao/yuanxiao/info')), 'default')); |
58 | } else { | 58 | } else { |
59 | - $playUrl = Helpers::url('/cuxiao/yuanxiao/index'); | ||
60 | - $playUrlEncode = strtr($playUrl, array('/' => '\\/')); | ||
61 | - $this->go($playUrl . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $playUrlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}'); | 59 | + exit(); |
62 | } | 60 | } |
63 | } | 61 | } |
64 | 62 |
-
Please register or login to post a comment