充值玩家导出默认时间

master
sunke 5 years ago
parent 60d1a4ced8
commit fe3dc2f378

@ -2677,7 +2677,7 @@ class DownloadController extends BaseController {
if(!empty($map['promote_id'])) { if(!empty($map['promote_id'])) {
$spendMap['promote_id'] = $map['promote_id']; $spendMap['promote_id'] = $map['promote_id'];
} }
$map['create_time'] = ['between', [strtotime(date('Y-m-d 00:00:00')) - 31*24*3600, strtotime(date('Y-m-d 23:59:59'))]]; $map['create_time'] = ['between', [strtotime(date('Y-m-d 00:00:00')) - 6*24*3600, strtotime(date('Y-m-d 23:59:59'))]];
$roles = M('user_play_info','tab_')->where($map)->select(); $roles = M('user_play_info','tab_')->where($map)->select();
$roleIds = array_column($roles, 'role_id'); $roleIds = array_column($roles, 'role_id');

Loading…
Cancel
Save