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

master
chenzhi 5 years ago
parent 07e4fb2e56
commit 5fdb7946cc

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

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

Loading…
Cancel
Save