Browse Source

临时加个日志

master
nili 1 week ago
parent
commit
54094ce7db
  1. 2
      game-web/src/main/java/awesome/group/game/web/filter/AdminLoginFilter.java

2
game-web/src/main/java/awesome/group/game/web/filter/AdminLoginFilter.java

@ -76,6 +76,8 @@ public class AdminLoginFilter implements Filter {
RequestContext.initAdmin(httpRequest, (HttpServletResponse) response, adminId); RequestContext.initAdmin(httpRequest, (HttpServletResponse) response, adminId);
if (adminId != null) { if (adminId != null) {
MatrixAdmin admin = adminMapper.selectById(adminId); MatrixAdmin admin = adminMapper.selectById(adminId);
Gson gson = new Gson();
L.trace("filter", gson.toJson(admin));
if (admin != null && admin.getDisable() > 0) { if (admin != null && admin.getDisable() > 0) {
channelDisable(response); channelDisable(response);
return; return;

Loading…
Cancel
Save