From 0f1a39c1780c593d8198e972214ba8779d8e3132 Mon Sep 17 00:00:00 2001 From: filesite Date: Mon, 3 Jun 2024 21:27:15 +0800 Subject: [PATCH] remove vip check in dir switch page --- themes/tajian/controller/MyController.php | 8 +------- themes/tajian/views/my/switchdir.php | 4 ---- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/themes/tajian/controller/MyController.php b/themes/tajian/controller/MyController.php index 5954083..0d7b721 100644 --- a/themes/tajian/controller/MyController.php +++ b/themes/tajian/controller/MyController.php @@ -139,15 +139,9 @@ Class MyController extends SiteController { } } - //VIP身份判断 - $isVipUser = true; - if (empty($loginedUser['cellphone']) || !in_array($loginedUser['cellphone'], FSC::$app['config']['tajian_vip_user'])) { - $isVipUser = false; - } - $defaultTitle = "切换账号"; $viewName = 'switchdir'; - return $this->actionIndex($viewName, $defaultTitle, compact('myDirs', 'myNicks', 'isMine', 'isVipUser')); + return $this->actionIndex($viewName, $defaultTitle, compact('myDirs', 'myNicks', 'isMine')); } //添加收藏夹 diff --git a/themes/tajian/views/my/switchdir.php b/themes/tajian/views/my/switchdir.php index ee18541..a5913b4 100644 --- a/themes/tajian/views/my/switchdir.php +++ b/themes/tajian/views/my/switchdir.php @@ -15,10 +15,6 @@ if (!empty(FSC::$app['config']['multipleUserUriParse']) && !empty(FSC::$app['use
- -
此功能限VIP使用,限时免费开通请联系客服哦
- -
点击昵称切换: