|
|
|
@ -1580,6 +1580,12 @@ class DownloadController extends BaseController {
|
|
|
|
|
}
|
|
|
|
|
empty($relation_game_id) || $map['tab_game.relation_game_id'] = $relation_game_id;
|
|
|
|
|
empty($sdk_version) || $map['tab_game.sdk_version'] = $sdk_version;
|
|
|
|
|
if(empty($begtime) && empty($endtime)) {
|
|
|
|
|
$nowTime = date('Y-m-d');
|
|
|
|
|
$begtime = date('Y-m-d', strtotime('-6 day', strtotime($nowTime)));
|
|
|
|
|
$endtime = $nowTime;
|
|
|
|
|
$map["apply_time"] = ["between",[$begtime,$endtime]];
|
|
|
|
|
}
|
|
|
|
|
if(!empty($begtime) && !empty($endtime)) {
|
|
|
|
|
$map["apply_time"] = ["between",[$begtime,$endtime]];
|
|
|
|
|
}
|
|
|
|
|