|
|
|
@ -1873,9 +1873,10 @@ class QueryController extends BaseController
|
|
|
|
|
list($records, $pagination, $count) = $this->paginate($query);
|
|
|
|
|
|
|
|
|
|
$total = M('spend', 'tab_')->alias('s')
|
|
|
|
|
->field($fieldS)
|
|
|
|
|
->field("$fieldS, $fieldToday as recharge_cost_today")
|
|
|
|
|
->where($map)
|
|
|
|
|
->find();
|
|
|
|
|
$total['recharge_cost_today'] = empty($total['recharge_cost_today']) ? '0.00' : $total['recharge_cost_today'];
|
|
|
|
|
|
|
|
|
|
if (!empty($records)) {
|
|
|
|
|
foreach ($records as &$list) {
|
|
|
|
@ -1888,7 +1889,7 @@ class QueryController extends BaseController
|
|
|
|
|
$list['login_time'] = empty($list['login_time']) ? '--' : date('Y-m-d H:i:s', $list['login_time']);
|
|
|
|
|
$list['register_time'] = empty($list['register_time']) ? '--' : date('Y-m-d H:i:s', $list['register_time']);
|
|
|
|
|
$list['promote_account'] = empty($list['promote_account']) ? '--' : $list['promote_account'];
|
|
|
|
|
$list['recharge_cost_today'] = empty($list['recharge_cost_today']) ? '0.00' : $list['promote_account'];
|
|
|
|
|
$list['recharge_cost_today'] = empty($list['recharge_cost_today']) ? '0.00' : $list['recharge_cost_today'];
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|