...
|
...
|
@@ -59,7 +59,6 @@ class StarClassController extends AbstractAction |
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//星潮教室-星搭配文章请求
|
|
|
public function ajaxCollocationAction()
|
|
|
{
|
...
|
...
|
@@ -88,10 +87,10 @@ class StarClassController extends AbstractAction |
|
|
if (!$uid) {
|
|
|
$refer = $this->server('HTTP_REFERER', SITE_MAIN);
|
|
|
if (!$this->_isApp) {
|
|
|
$this->echoJson(array('code'=>201,'data'=>Helpers::url('/signin.html', array('refer' => $refer))));
|
|
|
$this->go(Helpers::url('/signin.html', array('refer' => $refer)));
|
|
|
} else {
|
|
|
$referEncode = strtr($refer, array('/' => '\\/'));
|
|
|
$this->echoJson(array('code'=>201,'data'=>$refer . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $referEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}'));
|
|
|
$this->go($refer . '?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"' . $referEncode . '","param":{"from":"app"}},"requesturl":{"url":"","param":{}},"priority":"N"}}');
|
|
|
}
|
|
|
return;
|
|
|
}
|
...
|
...
|
|