Authored by 周少峰

app tips

... ... @@ -233,8 +233,8 @@ class SearchController extends AbstractAction
if (isset($condition['students'])) {
// 获取用户信息判断是否为学生
// 获取用户信息判断是否为学生
$data['students'] = Helpers::url('/activity/student/register');
if ($uid) {
$userInfo = UserData::userData($uid);
... ... @@ -243,12 +243,15 @@ class SearchController extends AbstractAction
}
}
$data['showDownloadApp'] = false;
if ($isApp) {
//判断app版本是否低于4.9.1,用于显示下方的提示
$appVersion = str_replace('.', '', $this->get('app_version'));
if (intval(substr($appVersion, 0, 3)) < 491) {
$data['oldApp'] = true;
}
}
}
//判断app版本是否低于4.9.1,用于显示下方的提示
$appVersion = str_replace('.', '', $this->get('app_version'));
if (intval(substr($appVersion, 0, 3)) < 491) {
$data['oldApp'] = true;
}
$this->_view->display('list', $data);
}
... ...