nili 1 week ago
parent
commit
756092d611
  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,8 +76,6 @@ public class AdminLoginFilter implements Filter {
RequestContext.initAdmin(httpRequest, (HttpServletResponse) response, adminId);
if (adminId != null) {
MatrixAdmin admin = adminMapper.selectById(adminId);
Gson gson = new Gson();
L.trace("filter", gson.toJson(admin));
if (admin != null && admin.getDisable() > 0) {
channelDisable(response);
return;

Loading…
Cancel
Save