mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-10-27 02:59:02 +08:00
重构SSO模块,静态式API改为实例式
This commit is contained in:
@@ -75,7 +75,7 @@ public Object ssoRequest() {
|
||||
if(req.isPath("/sso/auth") && req.hasParam("redirect") == false && StpUtil.isLogin()) {
|
||||
return SaHolder.getResponse().redirect("/home");
|
||||
}
|
||||
return SaSsoHandle.serverRequest();
|
||||
return SaSsoProcessor.instance.serverDister();
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user