diff --git a/Application/Admin/Controller/MemberController.class.php b/Application/Admin/Controller/MemberController.class.php index 2a72c9c48..9f8fe7ba7 100644 --- a/Application/Admin/Controller/MemberController.class.php +++ b/Application/Admin/Controller/MemberController.class.php @@ -78,7 +78,7 @@ class MemberController extends ThinkController $map['tab_user.is_repeat'] = $_REQUEST['is_repeat']; $is_repeat = true; } - + $isMarketAdmin = isMarketAdmin(); $map = withMarketAdminCondition($map, I('market_admin_id', 0)); if (isset($_REQUEST['status'])) { diff --git a/Application/Admin/Controller/SpendController.class.php b/Application/Admin/Controller/SpendController.class.php index cc1c4a612..60cc441be 100644 --- a/Application/Admin/Controller/SpendController.class.php +++ b/Application/Admin/Controller/SpendController.class.php @@ -122,7 +122,7 @@ class SpendController extends ThinkController // $map = '1 = 2'; // $map1 = $map; // } - $this->checkListOrCountAuthRestMap($map,["extend", "pay_order_number", "user_account"]); + // $this->checkListOrCountAuthRestMap($map,["extend", "pay_order_number", "user_account"]); $map1 = $map; $map1['pay_status'] = 1; $total = null_to_0(D(self::model_name)->where($map1)->sum('pay_amount')); diff --git a/Application/Admin/Controller/UserController.class.php b/Application/Admin/Controller/UserController.class.php index dcef8d90c..b5d677105 100644 --- a/Application/Admin/Controller/UserController.class.php +++ b/Application/Admin/Controller/UserController.class.php @@ -665,7 +665,7 @@ class UserController extends AdminController $map['role_id'] = trim($_REQUEST['role_id']); unset($_REQUEST['role_id']); } - + $isMarketAdmin = isMarketAdmin(); $map = withMarketAdminCondition($map, I('market_admin_id', 0)); // $promoteRoot = getPowerPromoteIds();