fixed: 后台数据权限bug

This commit is contained in:
none
2023-03-23 17:03:59 +08:00
parent fa5b25782f
commit 6c57a5f917
4 changed files with 13 additions and 2 deletions

View File

@@ -59,9 +59,8 @@ public class FrontMiddleware implements HandlerInterceptor {
return responseTransform(response, 403, "当前学员已锁定无法登录");
}
FCtx.setUserId(user.getId());
FCtx.setUser(user);
FCtx.setJWtJti(token);
FCtx.setUserId(user.getId());
FCtx.setJWtJti(payload.getJti());
return HandlerInterceptor.super.preHandle(request, response, handler);