Authored by 周少峰

debug

... ... @@ -10,7 +10,6 @@ use WebPlugin\Helpers;
use WebPlugin\Images;
use LibModels\Web\Home\MessageData;
use WebPlugin\Cache;
use WebPlugin\UdpLog;
/**
* 个人中心-用户相关业务逻辑处理
... ... @@ -491,7 +490,6 @@ class UserModel
* 学生认证入口开关,zookeeper中配置
*/
public static function getStudentEntryStatus() {
UdpLog::debug('studentSwitch: ', Cache::getBy('zookeeper:/pc/user/removeStudentIdentification'));
return USE_CACHE && Cache::getBy('zookeeper:/pc/user/removeStudentIdentification') === 'true' ? true : false;
}
}
... ...
... ... @@ -5,6 +5,7 @@ use WebPlugin\Helpers;
use Home\UserModel;
use Home\IndexModel;
use LibModels\Web\Home\OrderData;
use WebPlugin\UdpLog;
/**
* 个人中心首页
... ... @@ -87,6 +88,7 @@ class IndexController extends WebAction
'banner' => IndexModel::getFooterBanner(),
'helpUsUrl' => ''
);
UdpLog::debug('students:'.$data['certifiedName']);
$this->_view->display('index', array('meIndexPage' => true, 'me' => $data));
}
}
... ...