新增登陆记录列表统计权限

master
chenzhi 5 years ago
parent 07e4fb2e56
commit 5fdb7946cc

@ -1163,6 +1163,9 @@ class MemberController extends ThinkController
}
// $map['type'] = 1;
// $map['login_time'] = ['exp', 'login_time<>0'];
//判断是否有列表和统计的权限
$this->checkListOrCountAuthRestMap($map,["user_account"]);
$extend = array();
$extend['map'] = $map;
$count = M('UserLoginRecord','tab_')

@ -160,10 +160,12 @@
</td>
</tr>
</volist>
<if condition="$rule_count_check">
<tr>
<td colspan="2">合计</td>
<td colspan="4">&#12288;&#12288;登录玩家:{$user_count}人 </td>
</tr>
</if>
</empty>
</tbody>
</table>

Loading…
Cancel
Save