mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-20 10:13:28 +08:00
临时打开登陆
This commit is contained in:
parent
5333d94f44
commit
a1aaa31611
@ -46,6 +46,9 @@ public class AuthFilter {
|
|||||||
ServerHttpRequest request = SaReactorSyncHolder.getContext().getRequest();
|
ServerHttpRequest request = SaReactorSyncHolder.getContext().getRequest();
|
||||||
// 检查是否登录 是否有token
|
// 检查是否登录 是否有token
|
||||||
try {
|
try {
|
||||||
|
// if (!StpUtil.isLogin()) {
|
||||||
|
// StpUtil.login(1);
|
||||||
|
// }
|
||||||
StpUtil.checkLogin();
|
StpUtil.checkLogin();
|
||||||
} catch (NotLoginException e) {
|
} catch (NotLoginException e) {
|
||||||
if (request.getURI().getPath().contains("sse")) {
|
if (request.getURI().getPath().contains("sse")) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user