Update sso-home-jump.md

未登录应该为!
This commit is contained in:
gongjixiaobai
2022-11-09 10:16:08 +08:00
committed by GitHub
parent 6b2060e447
commit f0431e3a54

View File

@@ -42,7 +42,7 @@ public class HomeController {
@RequestMapping("/home")
public Object index() {
// 如果未登录,则先去登录
if(StpUtil.isLogin()) {
if(!StpUtil.isLogin()) {
return SaHolder.getResponse().redirect("/sso/auth");
}