推广平台->数据管理->充值玩家--时间检索范围限制

master
chenxiaojun 5 years ago
parent 2515ee98eb
commit b989f74605

@ -1720,7 +1720,7 @@ class QueryController extends BaseController
$sortName = trim(I('sort_name', '')); $sortName = trim(I('sort_name', ''));
$sort = intval(I('sort', 1)); $sort = intval(I('sort', 1));
$sortNameData = ['recharge_cost', 'recharge_count', 'recharge_cost_today', 'unlogin_day']; $sortNameData = ['recharge_cost', 'recharge_count', 'recharge_cost_today', 'unlogin_day'];
$nowTime = date('Y-m-d'); $nowTime = date('Y-m-d', time() - 3600 * 24);
$initBegTime = date('Y-m-d', strtotime('-6 day', strtotime($nowTime))); $initBegTime = date('Y-m-d', strtotime('-6 day', strtotime($nowTime)));
$initBegTime = empty(I('begtime')) ? $initBegTime : I('begtime'); $initBegTime = empty(I('begtime')) ? $initBegTime : I('begtime');
$initEndTime = $nowTime; $initEndTime = $nowTime;
@ -1843,7 +1843,7 @@ class QueryController extends BaseController
$this->assign('initBegTime', $initBegTime); $this->assign('initBegTime', $initBegTime);
$this->assign('initEndTime', $initEndTime); $this->assign('initEndTime', $initEndTime);
$this->assign('sort', $sort); $this->assign('sort', $sort);
$this->assign('setdate', date("Y-m-d", time() - 3600 * 24)); $this->assign('setdate', $nowTime);
$this->display('userRecharges'); $this->display('userRecharges');
} }

Loading…
Cancel
Save