diff --git a/Application/Admin/Common/extend.php b/Application/Admin/Common/extend.php index 549d65fba..5151995f2 100644 --- a/Application/Admin/Common/extend.php +++ b/Application/Admin/Common/extend.php @@ -2593,7 +2593,7 @@ function getMarketAdmin() { $map['group_id'] = ['in','11,12,21']; $admin_id = $_SESSION['onethink_admin']['user_auth']['uid']; $map['menber.uid'] = $admin_id; - if(is_administrator()||session('user_group_id') == 15) { + if(is_administrator()||session('user_group_id') == 15||session('user_group_id') == 14) { unset($map['menber.uid']); } diff --git a/Application/Admin/Controller/MarketPercentageController.class.php b/Application/Admin/Controller/MarketPercentageController.class.php index ec288ddc1..008f63455 100644 --- a/Application/Admin/Controller/MarketPercentageController.class.php +++ b/Application/Admin/Controller/MarketPercentageController.class.php @@ -482,7 +482,7 @@ class MarketPercentageController extends ThinkController $admin_id = $_SESSION['onethink_admin']['user_auth']['uid']; $map['admin_id'] = $admin_id; - if(is_administrator()||session('user_group_id') == 15) { + if(is_administrator()||session('user_group_id') == 15||session('user_group_id') == 14) { unset($map['admin_id']); $_REQUEST['admin_id']?($map['admin_id'] = $_REQUEST['admin_id']):''; }