推广平台>数据管理>充值玩家--更新

master
chenxiaojun 5 years ago
parent 7709163e03
commit 28efebf8d0

@ -1873,9 +1873,10 @@ class QueryController extends BaseController
list($records, $pagination, $count) = $this->paginate($query); list($records, $pagination, $count) = $this->paginate($query);
$total = M('spend', 'tab_')->alias('s') $total = M('spend', 'tab_')->alias('s')
->field($fieldS) ->field("$fieldS, $fieldToday as recharge_cost_today")
->where($map) ->where($map)
->find(); ->find();
$total['recharge_cost_today'] = empty($total['recharge_cost_today']) ? '0.00' : $total['recharge_cost_today'];
if (!empty($records)) { if (!empty($records)) {
foreach ($records as &$list) { 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['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['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['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'];
} }
} }
} }

@ -159,8 +159,8 @@
<i class="iconfont iconsort"></i> <i class="iconfont iconsort"></i>
</if> </if>
</th> </th>
<th class="sort" sort-name="create_time" class="title-cursor-pointer" title="玩家账号注册的时间">注册时间 <th class="sort" sort-name="register_time" class="title-cursor-pointer" title="玩家账号注册的时间">注册时间
<if condition="'create_time' == I('sort_name', '')"> <if condition="'register_time' == I('sort_name', '')">
<if condition="1 == $sort"> <if condition="1 == $sort">
<i class="iconfont iconsort-down"></i> <i class="iconfont iconsort-down"></i>
<else/> <else/>

Loading…
Cancel
Save