@ -469,7 +469,7 @@ class PayChannelController extends ThinkController
->select(false);
$spreadMap['order_status'] = array('egt',1);
setPowerPromoteIds($spreadMap,'promote_id');
// setPowerPromoteIds($spreadMap,'promote_id');
// $spreadMap['pay_way'] = array('egt',1);
$coin_pay_order = M('coin_pay_order','tab_')
->field("pay_order_number,create_time as pay_time,promote_account,pay_amount as cost,real_amount as pay_amount,pay_way")
@ -479,7 +479,7 @@ class PayChannelController extends ThinkController
//官网数据
$offcialmap['pay_status'] = 1;
$offcialmap['pay_source'] = 0;
setPowerPromoteIds($offcialmap,'promote_id');
// setPowerPromoteIds($offcialmap,'promote_id');
$offcialData = M('deposit','tab_')
->field("pay_order_number,create_time as pay_time,user_account,promote_account,pay_ip as spend_ip,pay_amount as cost,pay_amount,pay_way")
@ -495,7 +495,7 @@ class PayChannelController extends ThinkController
unset($map['pay_order_number']);
}
unset($map['promote_id']);
// unset($map['promote_id']);
//超级签数据
$superSignData = M('game_supersign','tab_')
->field("order_id as pay_order_number,pay_time,tab_user.account as user_account,tab_user.promote_account,pay_price as cost,pay_price as pay_amount,pay_way")
@ -620,8 +620,8 @@ class PayChannelController extends ThinkController
@ -643,7 +643,7 @@ class PayChannelController extends ThinkController
->select(false);
$spreadMap['order_status'] = array('egt',1);
setPowerPromoteIds($spreadMap,'promote_id');
// setPowerPromoteIds($spreadMap,'promote_id');
$coin_pay_order = M('coin_pay_order','tab_')
->field("pay_order_number,create_time as pay_time,promote_account,pay_amount as cost,real_amount as pay_amount,pay_way")
@ -653,7 +653,7 @@ class PayChannelController extends ThinkController
//官网数据
$offcialmap['pay_status'] = 1;
$offcialmap['pay_source'] = 0;
setPowerPromoteIds($offcialmap,'promote_id');
// setPowerPromoteIds($offcialmap,'promote_id');
$offcialData = M('deposit','tab_')
->field("pay_order_number,create_time as pay_time,user_account,promote_account,pay_ip as spend_ip,pay_amount as cost,pay_amount,pay_way")
@ -669,7 +669,7 @@ class PayChannelController extends ThinkController
unset($map['pay_order_number']);
}
unset($map['promote_id']);
// unset($map['promote_id']);
//超级签数据
$superSignData = M('game_supersign','tab_')
->field("order_id as pay_order_number,pay_time,tab_user.account as user_account,tab_user.promote_account,pay_price as cost,pay_price as pay_amount,pay_way")
@ -820,7 +820,7 @@ class PayChannelController extends ThinkController
if ($_REQUEST['game_id']) {
$map['game_id'] = $_REQUEST['game_id'];
}
setPowerPromoteIds($map,'promote_id');
// setPowerPromoteIds($map,'promote_id');
$data = M('spend','tab_')
->field("pay_order_number,order_number,user_account,pay_time,game_name,server_name,game_player_name,cost,pay_amount,pay_way as pay_type,pay_way,pay_game_status")
->join('inner join tab_test_white_list on tab_spend.user_id=tab_test_white_list.user_id')
@ -833,10 +833,12 @@ class PayChannelController extends ThinkController
->field("pay_order_number,order_number,user_account,create_time as pay_time,pay_amount as cost,pay_amount,pay_way as pay_type,pay_way")
->join('inner join tab_test_white_list on tab_deposit.user_id=tab_test_white_list.user_id')
@ -1123,7 +1126,7 @@ class PayChannelController extends ThinkController
if ($_REQUEST['game_id']) {
$map['game_id'] = $_REQUEST['game_id'];
}
setPowerPromoteIds($map,'promote_id');
// setPowerPromoteIds($map,'promote_id');
$data = M('spend','tab_')
->field("pay_order_number,order_number,user_account,pay_time,game_name,server_name,game_player_name,cost,pay_amount,pay_way as pay_type,pay_way,pay_game_status")
@ -1138,10 +1141,13 @@ class PayChannelController extends ThinkController