|
|
|
@ -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)); |
|
|
|
|