feat: SaLoginParameter 支持 maxLoginCount 配置

This commit is contained in:
click33
2025-03-02 01:52:25 +08:00
parent 3bc9e88645
commit 0b85c7d094
3 changed files with 30 additions and 7 deletions

View File

@@ -29,6 +29,7 @@ public class TestController {
StpUtil.login(id, new SaLoginParameter()
.setIsConcurrent(true)
.setIsShare(false)
.setMaxLoginCount(4)
);
return SaResult.ok("登录成功");
}