|
|
@ -1196,13 +1196,14 @@ class DownloadController extends BaseController {
|
|
|
|
empty(I('extend')) || $map['tab_pay_info.extend'] = I('extend');
|
|
|
|
empty(I('extend')) || $map['tab_pay_info.extend'] = I('extend');
|
|
|
|
empty(I('user_id')) || $map['tab_pay_info.game_player_id'] = I('user_id');
|
|
|
|
empty(I('user_id')) || $map['tab_pay_info.game_player_id'] = I('user_id');
|
|
|
|
if (!empty($begTime) && !empty($endTime)) {
|
|
|
|
if (!empty($begTime) && !empty($endTime)) {
|
|
|
|
$map['tab_pay_info.create_time'] = ['between', [strtotime($begTime), strtotime($endTime) - 1]];
|
|
|
|
$map['tab_pay_info.create_time'] = ['between', [strtotime($begTime), strtotime($endTime) +24*3600- 1]];
|
|
|
|
}else if (empty($begTime) && !empty($endTime)) {
|
|
|
|
}else if (empty($begTime) && !empty($endTime)) {
|
|
|
|
$map['tab_pay_info.create_time'] = ['elt',strtotime($endTime)];
|
|
|
|
$map['tab_pay_info.create_time'] = ['elt',strtotime($endTime) + 24*3600];
|
|
|
|
}else if (!empty($begTime) && empty($endTime)) {
|
|
|
|
}else if (!empty($begTime) && empty($endTime)) {
|
|
|
|
$map['tab_pay_info.create_time'] = ['EGT',strtotime($begTime)];
|
|
|
|
$map['tab_pay_info.create_time'] = ['EGT',strtotime($begTime) + 24*3600];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$conditions = json_encode($map,TRUE);
|
|
|
|
$conditions = json_encode($map,TRUE);
|
|
|
|
$addtime = time();
|
|
|
|
$addtime = time();
|
|
|
|
$data = [
|
|
|
|
$data = [
|
|
|
|