充值玩家当天时间包办

master
sunke 5 years ago
parent 7d644de6e3
commit fc2596a7cc

@ -3178,7 +3178,7 @@ class DownloadController extends BaseController {
unset($map['costbegin']);
unset($map['costend']);
$nowTime = strtotime(date('Y-m-d 00:00:00', time()));
$subMap['create_time'] = ['between', [$map['begintime'], $map['endtime'] - 1]];
$subMap['create_time'] = ['between', [$map['begintime'], $map['endtime']-1]];
if ($costBegin != '' || $costEnd != '') {
$having = '';
if ($costBegin != '' && $costEnd != '') {
@ -3196,7 +3196,7 @@ class DownloadController extends BaseController {
$map['_string'] = 'ui.role_id in (' . $subQuery . ')';
}
$secondDay = 24*3600 + 1;
$map['uc.create_time'] = ['between', [$map['begintime'], $map['endtime'] - $secondDay]];
$map['uc.create_time'] = ['between', [$map['begintime'], $map['endtime']-1]];
unset($map['begintime']);
unset($map['endtime']);
//$spendMap['_string'] = 'uc.game_id = tab_user_play_info.game_id and uc.server_id = tab_user_play_info.server_id and uc.role_id = tab_user_play_info.role_id';

Loading…
Cancel
Save