From 1acef893809d8de724435087017c282ae77eac3f Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Tue, 7 Jul 2020 14:03:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=82=E5=9C=BA=E4=B8=9A=E7=BB=A9=E6=8F=90?= =?UTF-8?q?=E6=88=90=E5=B8=82=E5=9C=BA=E6=80=BB=E7=9B=91=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E7=BB=84=E6=B7=BB=E5=8A=A0=E6=9F=A5=E7=9C=8B=E5=85=A8=E9=83=A8?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E7=9A=84=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Common/extend.php | 2 +- .../Admin/Controller/MarketPercentageController.class.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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']):''; }