Authored by 周少峰

app sigin

... ... @@ -242,10 +242,7 @@ class SearchController extends AbstractAction
// 搜索列表将最新改成默认的标识
$data['isSearch'] = true;
if (isset($condition['students'])) {
// 获取用户信息判断是否为学生
if ($uid) {
$userInfo = UserData::userData($uid);
... ... @@ -256,7 +253,7 @@ class SearchController extends AbstractAction
}
} else {
if ($isApp) {
$data['students'] = '/signin.html?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"//m.yohobuy.com/activity/student/register","antarget":"1"}}}';
$data['students'] = '/signin.html?openby:yohobuy={"action":"go.weblogin","params":{"jumpurl":{"url":"http://m.yohobuy.com/activity/student/register","antarget":"1"}}}';
} else {
$data['students'] = Helpers::url('/signin.html?refer=//m.yohobuy.com/activity/student/register');
}
... ...