Authored by 周少峰

log

... ... @@ -10,6 +10,7 @@ use WebPlugin\Helpers;
use WebPlugin\Images;
use LibModels\Web\Home\MessageData;
use WebPlugin\Cache;
use WebPlugin\UdpLog;
/**
* 个人中心-用户相关业务逻辑处理
... ... @@ -490,6 +491,7 @@ 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;
}
}
... ...