|
|
|
@ -7894,7 +7894,7 @@ class ExportController extends Controller
|
|
|
|
|
|
|
|
|
|
$xlsData = D("spend")->gameStatistics($map);
|
|
|
|
|
foreach ($xlsData as $key => $value) {
|
|
|
|
|
$xlsData[$key]['game_name'] = substr($value["game_name"],0,strrpos($value["game_name"],'('));
|
|
|
|
|
// $xlsData[$key]['game_name'] = substr($value["game_name"],0,strrpos($value["game_name"],'('));
|
|
|
|
|
$xlsData[$key]['all_cash_count'] = $value['cash_count'] + $value['balance_coin_count'] + $value['inside_cash_count'];
|
|
|
|
|
if ($value['sdk_version'] == 1) {
|
|
|
|
|
$xlsData[$key]['sdk_version'] = '安卓';
|
|
|
|
@ -7902,7 +7902,6 @@ class ExportController extends Controller
|
|
|
|
|
$xlsData[$key]['sdk_version'] = '苹果';
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$totalData = D("spend")->totalGameStatistics($map);
|
|
|
|
|
|
|
|
|
|
$sumCash = $totalData['cash_count'];
|
|
|
|
|