优化操作行为日志隐藏玩家

master
chenzhi 5 years ago
parent 673e3fb5cd
commit 35d8e379d8

@ -109,7 +109,8 @@ class UserActionLogController extends AdminController
}
$this->checkListOrCountAuthRestMap($map,[]);
$show_data_power = (is_administrator()|| session('user_auth')['show_data']);
$this->assign('show_data_power', $show_data_power);
$this->assign('data',$data);
$this->display();

@ -112,7 +112,13 @@
<td >{$data.action_title}</td>
<td >{$data.action_content}</td>
<td >{$data.game_name}</td>
<td >{$data.account}</td>
<td >
<if condition="$show_data_power eq true ">
{$data.account}
<else />
{$data.account|encryptStr}
</if>
</td>
<td >{$data.create_time|date='Y-m-d H:i:s',###}</td>
<td >{$data.ip}</td>
<!-- <td ><a class="confirm del" data-id="{$data.id}">删除</a></td>-->

Loading…
Cancel
Save