From 0b8c42379d2d6847fe36a19d63b8fc41a71589c4 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Mon, 2 Mar 2020 09:11:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=B8=E6=88=8F=E5=AF=BC=E5=87=BA=E8=AE=BE?= =?UTF-8?q?=E5=A4=87=E7=B1=BB=E5=9E=8B=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/ExportController.class.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Application/Admin/Controller/ExportController.class.php b/Application/Admin/Controller/ExportController.class.php index 194068888..b282cc816 100644 --- a/Application/Admin/Controller/ExportController.class.php +++ b/Application/Admin/Controller/ExportController.class.php @@ -7389,6 +7389,7 @@ class ExportController extends Controller $xlsCell = array( array('game_name','游戏'), + array('sdk_version','设备类型'), array('game_type_name','游戏类型'), array('partner_name','合作公司'), array('cash_count','游戏现金金额'), @@ -7428,6 +7429,11 @@ class ExportController extends Controller $xlsData = D("spend")->gameStatistics($map); foreach ($xlsData as $key => $value) { $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'] = '安卓'; + } else if ($value['sdk_version'] == 2) { + $xlsData[$key]['sdk_version'] = '苹果'; + } } $totalData = D("spend")->totalGameStatistics($map);