diff --git a/Application/Admin/Controller/MemberController.class.php b/Application/Admin/Controller/MemberController.class.php index 9774b2b59..c5ec3c68c 100644 --- a/Application/Admin/Controller/MemberController.class.php +++ b/Application/Admin/Controller/MemberController.class.php @@ -90,6 +90,8 @@ class MemberController extends ThinkController $promoteRoot = getPowerPromoteIds(); if ($promoteRoot) { $map['tab_user.promote_id'] =array('in',$promoteRoot); + } else { + $map['tab_user.id'] = array('lt',1); } //1.3 与推广员相关 $promoterSelect = false; @@ -1028,6 +1030,8 @@ class MemberController extends ThinkController $promoteRoot = getPowerPromoteIds(); if ($promoteRoot) { $map['promote_id'] =array('in',$promoteRoot); + } else { + $map['id'] = array('lt',1); } if (isset($_REQUEST['promote_id'])) { diff --git a/Application/Admin/Controller/PlatformController.class.php b/Application/Admin/Controller/PlatformController.class.php index 79f09c30b..ed9f14de5 100644 --- a/Application/Admin/Controller/PlatformController.class.php +++ b/Application/Admin/Controller/PlatformController.class.php @@ -44,6 +44,12 @@ class PlatformController extends ThinkController $map['fgame_name'] = $_REQUEST['game_name']; unset($_REQUEST['fgame_name']); } + + $promoteRoot = getPowerPromoteIds(); + if ($promoteRoot) { + $map['promote_id'] =array('in',$promoteRoot); + } + $today = total(1); $week = total(2); $mounth = total(3); @@ -120,6 +126,11 @@ class PlatformController extends ThinkController unset($_REQUEST['timeend']); } + $promoteRoot = getPowerPromoteIds(); + if ($promoteRoot) { + $map['promote_id'] =array('in',$promoteRoot); + } + // var_dump($_REQUEST);exit; if (isset($_REQUEST['game_name']) && $_REQUEST['game_name'] != '') { $map['game_id'] = $_REQUEST['game_name']; @@ -204,6 +215,12 @@ class PlatformController extends ThinkController $map['register_way'] = $_REQUEST['register_way']; unset($_REQUEST['register_way']); } + + $promoteRoot = getPowerPromoteIds(); + if ($promoteRoot) { + $map['promote_id'] =array('in',$promoteRoot); + } + $today = total(1); $week = total(2); $mounth = total(3); @@ -282,6 +299,12 @@ class PlatformController extends ThinkController $map['pay_way'] = array('in', $_REQUEST['pay_way']); unset($_REQUEST['pay_way']); } + + $promoteRoot = getPowerPromoteIds(); + if ($promoteRoot) { + $map['promote_id'] =array('in',$promoteRoot); + } + $map['pay_status'] = 1; $today = total(1); $week = total(2); diff --git a/Application/Admin/Controller/SuperSignController.class.php b/Application/Admin/Controller/SuperSignController.class.php index 1911c5a6d..d7952747d 100644 --- a/Application/Admin/Controller/SuperSignController.class.php +++ b/Application/Admin/Controller/SuperSignController.class.php @@ -59,7 +59,11 @@ class SuperSignController extends ThinkController $data[$key]['pay_way'] = '支付宝'; } else if ($Value['pay_way']==2) { $data[$key]['pay_way'] = '微信'; - } else { + } else if($Value['pay_way']==3){ + $data[$key]['pay_way'] = '双乾支付宝'; + }else if($Value['pay_way']==4){ + $data[$key]['pay_way'] = '双乾微信'; + }else { $data[$key]['pay_way'] = '未知'; } }