From 3500ef730de32b984f358f7a5dbeb8d8ff8986ba Mon Sep 17 00:00:00 2001 From: hujiabin Date: Mon, 27 Mar 2023 17:11:16 +0800 Subject: [PATCH] 1 --- .../controller/BaseAuthedController.class.php | 24 +------------------ 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/webapp/controller/BaseAuthedController.class.php b/webapp/controller/BaseAuthedController.class.php index 35c34ba1..8b339306 100644 --- a/webapp/controller/BaseAuthedController.class.php +++ b/webapp/controller/BaseAuthedController.class.php @@ -82,29 +82,7 @@ class BaseAuthedController extends BaseController { die(); } } - $userInfo = $this->_getOrmUserInfo(); - switch (getReqVal('c', '')){ - case 'ChipPage': { - if ($userInfo['level'] < \mt\LevelUp::USER_LEVEL_CHIP_LIMIT){ - $this->_rspErr(1,'Not agreed terms'); - die(); - } - } - break; - case 'Emoji' : { - if ($userInfo['level'] < \mt\LevelUp::USER_LEVEL_EMOJI_LIMIT){ - $this->_rspErr(1,'Not agreed terms'); - die(); - } - } - break; - case 'Parachute' : { - if ($userInfo['level'] < \mt\LevelUp::USER_LEVEL_PARACHUTE_MATCH_LIMIT){ - $this->_rspErr(1,'Not agreed terms'); - die(); - } - } - } + /*if (SERVER_ENV == _ONLINE) { if (phpcommon\cmpVersion(getReqVal('_version', ''), '0.2.0') > 0) { if (!$this->isWhiteList() || myself()->_getChannel() != BC_CHANNEL) {