diff --git a/application/index/controller/Base.php b/application/index/controller/Base.php index 40a4b57..85a8d62 100644 --- a/application/index/controller/Base.php +++ b/application/index/controller/Base.php @@ -70,6 +70,11 @@ class Base extends Controller protected static function authAddHouse($curr_count = 0, $count_type = 'count') { + //超级管理员以外直接不允许添加 + if (MEMBER['is_manager'] != 1) { + exit(send_http_status(51004)); + } + //子账号不允许删除和添加 if ($_SERVER['HTTP_SUBUSERID'] > 0) { exit(send_http_status(417));