学员安全登出

This commit is contained in:
none
2023-03-21 14:57:00 +08:00
parent ee248b483d
commit ad02bcad59
11 changed files with 114 additions and 49 deletions

View File

@@ -61,6 +61,8 @@ public class FrontMiddleware implements HandlerInterceptor {
PlayEduFCtx.setUserId(user.getId());
PlayEduFCtx.setUser(user);
PlayEduFCtx.setJWtJti(token);
PlayEduFCtx.setJWtJti(payload.getJti());
return HandlerInterceptor.super.preHandle(request, response, handler);
} catch (Exception e) {