mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-10-21 19:17:25 +08:00
feat: SaLoginParameter 新增 maxTryTimes 配置
This commit is contained in:
@@ -30,6 +30,7 @@ public class TestController {
|
||||
.setIsConcurrent(true)
|
||||
.setIsShare(false)
|
||||
.setMaxLoginCount(4)
|
||||
.setMaxTryTimes(12)
|
||||
);
|
||||
return SaResult.ok("登录成功");
|
||||
}
|
||||
|
Reference in New Issue
Block a user