Authored by Rock Zhang

修复android登录问题

@@ -56,7 +56,10 @@ class YuanxiaoController extends HuodongAction @@ -56,7 +56,10 @@ 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 - exit(); 59 +
  60 + $playUrl = Helpers::url('/cuxiao/yuanxiao/info');
  61 + $playUrlEncode = strtr($playUrl, array('/' => '\\/'));
  62 + $this->go($playUrl . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $playUrlEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}');
60 } 63 }
61 } 64 }
62 65