|
|
@ -2889,6 +2889,11 @@ class DownloadController extends BaseController {
|
|
|
|
foreach ($records as $key1 => $value1) {
|
|
|
|
foreach ($records as $key1 => $value1) {
|
|
|
|
$value1['user_account'] = $this->encryption($value1['user_account']);
|
|
|
|
$value1['user_account'] = $this->encryption($value1['user_account']);
|
|
|
|
$value1['play_time'] = date('Y-m-d H:i:s',$value1['play_time']);
|
|
|
|
$value1['play_time'] = date('Y-m-d H:i:s',$value1['play_time']);
|
|
|
|
|
|
|
|
if($value1['sdk_version'] == 1) {
|
|
|
|
|
|
|
|
$value1['sdk_version'] == "Android";
|
|
|
|
|
|
|
|
}else {
|
|
|
|
|
|
|
|
$value1['sdk_version'] == "ios";
|
|
|
|
|
|
|
|
}
|
|
|
|
$xlsData[] = $value1;
|
|
|
|
$xlsData[] = $value1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$this->exportExcel($xlsName, $xlsCell, $xlsData,$id);
|
|
|
|
$this->exportExcel($xlsName, $xlsCell, $xlsData,$id);
|
|
|
|