|
|
@ -1022,6 +1022,14 @@ class PayChannelController extends ThinkController
|
|
|
|
$coinMap['tab_deposit.user_account'] = $coinMap['user_account'];
|
|
|
|
$coinMap['tab_deposit.user_account'] = $coinMap['user_account'];
|
|
|
|
unset($coinMap['user_account']);
|
|
|
|
unset($coinMap['user_account']);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(!$coinMap['tab_deposit.user_account']) {
|
|
|
|
|
|
|
|
unset($coinMap['tab_deposit.user_account']);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!$map['user_account']) {
|
|
|
|
|
|
|
|
unset($map['user_account']);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
unset($coinMap['pay_status']);
|
|
|
|
unset($coinMap['pay_status']);
|
|
|
|
unset($coinMap['pay_way']);
|
|
|
|
unset($coinMap['pay_way']);
|
|
|
|
|
|
|
|
|
|
|
@ -1036,11 +1044,13 @@ class PayChannelController extends ThinkController
|
|
|
|
->join("inner join tab_deposit on tab_pay_info.order_id=tab_deposit.pay_order_number")
|
|
|
|
->join("inner join tab_deposit on tab_pay_info.order_id=tab_deposit.pay_order_number")
|
|
|
|
->join("inner join tab_test_white_list on tab_test_white_list.user_id=tab_pay_info.user_id")
|
|
|
|
->join("inner join tab_test_white_list on tab_test_white_list.user_id=tab_pay_info.user_id")
|
|
|
|
->field("pay_order_number,tab_deposit.order_number,tab_deposit.user_account,tab_deposit.create_time as pay_time,
|
|
|
|
->field("pay_order_number,tab_deposit.order_number,tab_deposit.user_account,tab_deposit.create_time as pay_time,
|
|
|
|
tab_pay_info.game_name,tab_pay_info.server_name,tab_pay_info.game_player_name,tab_pay_info.sdk_version,tab_deposit.pay_amount as cost,
|
|
|
|
tab_pay_info.game_name,tab_pay_info.server_name,tab_pay_info.game_player_name,tab_deposit.pay_amount as cost,
|
|
|
|
tab_deposit.pay_amount,tab_deposit.pay_way as pay_type,tab_deposit.pay_way,'' as pay_game_status")
|
|
|
|
tab_deposit.pay_amount,tab_deposit.pay_way as pay_type,tab_deposit.pay_way,'' as pay_game_status,tab_pay_info.sdk_version")
|
|
|
|
->where($coinMap)
|
|
|
|
->where($coinMap)
|
|
|
|
->select(false);
|
|
|
|
->select(false);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// var_dump($coinData);die();
|
|
|
|
|
|
|
|
|
|
|
|
$page = ($page-1) * $row;
|
|
|
|
$page = ($page-1) * $row;
|
|
|
|
$count = "select count(*) as count from ({$data} UNION ALL {$coinData})t;";
|
|
|
|
$count = "select count(*) as count from ({$data} UNION ALL {$coinData})t;";
|
|
|
|
|
|
|
|
|
|
|
@ -1691,6 +1701,7 @@ class PayChannelController extends ThinkController
|
|
|
|
$sumAllDataother['user_account'] = '------';
|
|
|
|
$sumAllDataother['user_account'] = '------';
|
|
|
|
$sumAllDataother['pay_time'] = '------';
|
|
|
|
$sumAllDataother['pay_time'] = '------';
|
|
|
|
$sumAllDataother['game_name'] = '------';
|
|
|
|
$sumAllDataother['game_name'] = '------';
|
|
|
|
|
|
|
|
$sumAllDataother['sdk_version'] = '------';
|
|
|
|
$sumAllDataother['server_name'] = '------';
|
|
|
|
$sumAllDataother['server_name'] = '------';
|
|
|
|
$sumAllDataother['game_player_name'] = '------';
|
|
|
|
$sumAllDataother['game_player_name'] = '------';
|
|
|
|
$sumAllDataother['cost'] = $sumAllData['cost'];
|
|
|
|
$sumAllDataother['cost'] = $sumAllData['cost'];
|
|
|
|