diff --git a/Application/Admin/Controller/MarketPercentageController.class.php b/Application/Admin/Controller/MarketPercentageController.class.php index d6b567e38..db56e5f3e 100644 --- a/Application/Admin/Controller/MarketPercentageController.class.php +++ b/Application/Admin/Controller/MarketPercentageController.class.php @@ -338,14 +338,17 @@ class MarketPercentageController extends ThinkController $map = []; -// $map['group_id'] = ['in','11,12,21']; + $map['group_id'] = ['in','11,12,21']; $_REQUEST['pay_time']?($map['pay_time'] = $_REQUEST['pay_time']):''; $_REQUEST['admin_id']?($map['admin_id'] = $_REQUEST['admin_id']):''; $_REQUEST['group_id']?($map['group_id'] = $_REQUEST['group_id']):''; $admin_id = $_SESSION['onethink_admin']['user_auth']['uid']; -// $map['admin_id'] = $admin_id; + $map['admin_id'] = $admin_id; + if(is_administrator()) { + unset($map['admin_id']); + } $data = M("settleup_marketorder","tab_") ->field("tab_settleup_marketorder.id,pay_time,promote_account,company_belong,member.real_name,develop_type,game_name,