Showing
1 changed file
with
2 additions
and
0 deletions
@@ -10,6 +10,7 @@ use WebPlugin\Helpers; | @@ -10,6 +10,7 @@ use WebPlugin\Helpers; | ||
10 | use WebPlugin\Images; | 10 | use WebPlugin\Images; |
11 | use LibModels\Web\Home\MessageData; | 11 | use LibModels\Web\Home\MessageData; |
12 | use WebPlugin\Cache; | 12 | use WebPlugin\Cache; |
13 | +use WebPlugin\UdpLog; | ||
13 | 14 | ||
14 | /** | 15 | /** |
15 | * 个人中心-用户相关业务逻辑处理 | 16 | * 个人中心-用户相关业务逻辑处理 |
@@ -490,6 +491,7 @@ class UserModel | @@ -490,6 +491,7 @@ class UserModel | ||
490 | * 学生认证入口开关,zookeeper中配置 | 491 | * 学生认证入口开关,zookeeper中配置 |
491 | */ | 492 | */ |
492 | public static function getStudentEntryStatus() { | 493 | public static function getStudentEntryStatus() { |
494 | + UdpLog::debug('studentSwitch: ', Cache::getBy('zookeeper:/pc/user/removeStudentIdentification')); | ||
493 | return USE_CACHE && Cache::getBy('zookeeper:/pc/user/removeStudentIdentification') === 'true' ? true : false; | 495 | return USE_CACHE && Cache::getBy('zookeeper:/pc/user/removeStudentIdentification') === 'true' ? true : false; |
494 | } | 496 | } |
495 | } | 497 | } |
-
Please register or login to post a comment