玩家充值时间重设

master
sunke 5 years ago
parent f8c957b071
commit c77660e57b

@ -2907,7 +2907,8 @@ class DownloadController extends BaseController {
->buildSql(); ->buildSql();
$map['_string'] = 'ui.role_id in (' . $subQuery . ')'; $map['_string'] = 'ui.role_id in (' . $subQuery . ')';
} }
$map['uc.create_time'] = ['between', [$map['begintime'], $map['endtime'] - 1]]; $secondDay = 24*3600 + 1;
$map['uc.create_time'] = ['between', [$map['begintime']-24*3600, $map['endtime'] - $secondDay]];
unset($map['begintime']); unset($map['begintime']);
unset($map['endtime']); 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'; //$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