数据授权修改内容提交

master
zhengyongxing 5 years ago
parent 6dc8366018
commit deaeed6027

@ -90,6 +90,8 @@ class MemberController extends ThinkController
$promoteRoot = getPowerPromoteIds(); $promoteRoot = getPowerPromoteIds();
if ($promoteRoot) { if ($promoteRoot) {
$map['tab_user.promote_id'] =array('in',$promoteRoot); $map['tab_user.promote_id'] =array('in',$promoteRoot);
} else {
$map['tab_user.id'] = array('lt',1);
} }
//1.3 与推广员相关 //1.3 与推广员相关
$promoterSelect = false; $promoterSelect = false;
@ -1028,6 +1030,8 @@ class MemberController extends ThinkController
$promoteRoot = getPowerPromoteIds(); $promoteRoot = getPowerPromoteIds();
if ($promoteRoot) { if ($promoteRoot) {
$map['promote_id'] =array('in',$promoteRoot); $map['promote_id'] =array('in',$promoteRoot);
} else {
$map['id'] = array('lt',1);
} }
if (isset($_REQUEST['promote_id'])) { if (isset($_REQUEST['promote_id'])) {

@ -44,6 +44,12 @@ class PlatformController extends ThinkController
$map['fgame_name'] = $_REQUEST['game_name']; $map['fgame_name'] = $_REQUEST['game_name'];
unset($_REQUEST['fgame_name']); unset($_REQUEST['fgame_name']);
} }
$promoteRoot = getPowerPromoteIds();
if ($promoteRoot) {
$map['promote_id'] =array('in',$promoteRoot);
}
$today = total(1); $today = total(1);
$week = total(2); $week = total(2);
$mounth = total(3); $mounth = total(3);
@ -120,6 +126,11 @@ class PlatformController extends ThinkController
unset($_REQUEST['timeend']); unset($_REQUEST['timeend']);
} }
$promoteRoot = getPowerPromoteIds();
if ($promoteRoot) {
$map['promote_id'] =array('in',$promoteRoot);
}
// var_dump($_REQUEST);exit; // var_dump($_REQUEST);exit;
if (isset($_REQUEST['game_name']) && $_REQUEST['game_name'] != '') { if (isset($_REQUEST['game_name']) && $_REQUEST['game_name'] != '') {
$map['game_id'] = $_REQUEST['game_name']; $map['game_id'] = $_REQUEST['game_name'];
@ -204,6 +215,12 @@ class PlatformController extends ThinkController
$map['register_way'] = $_REQUEST['register_way']; $map['register_way'] = $_REQUEST['register_way'];
unset($_REQUEST['register_way']); unset($_REQUEST['register_way']);
} }
$promoteRoot = getPowerPromoteIds();
if ($promoteRoot) {
$map['promote_id'] =array('in',$promoteRoot);
}
$today = total(1); $today = total(1);
$week = total(2); $week = total(2);
$mounth = total(3); $mounth = total(3);
@ -282,6 +299,12 @@ class PlatformController extends ThinkController
$map['pay_way'] = array('in', $_REQUEST['pay_way']); $map['pay_way'] = array('in', $_REQUEST['pay_way']);
unset($_REQUEST['pay_way']); unset($_REQUEST['pay_way']);
} }
$promoteRoot = getPowerPromoteIds();
if ($promoteRoot) {
$map['promote_id'] =array('in',$promoteRoot);
}
$map['pay_status'] = 1; $map['pay_status'] = 1;
$today = total(1); $today = total(1);
$week = total(2); $week = total(2);

@ -59,7 +59,11 @@ class SuperSignController extends ThinkController
$data[$key]['pay_way'] = '支付宝'; $data[$key]['pay_way'] = '支付宝';
} else if ($Value['pay_way']==2) { } else if ($Value['pay_way']==2) {
$data[$key]['pay_way'] = '微信'; $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'] = '未知'; $data[$key]['pay_way'] = '未知';
} }
} }

Loading…
Cancel
Save