publish 2.0.0.rc15

This commit is contained in:
曾文豪
2024-08-05 19:11:17 +08:00
parent a22467d4f1
commit bb38428708
17 changed files with 133 additions and 86 deletions

View File

@@ -109,7 +109,7 @@ public class EncryptConfig {
if (num > 5) {
throw new ApiException("登录失败已达6次请10分钟后再试");
}
TsCacheService.of().put(clientIp, String.valueOf(num + 1), 10 * 60 * 1000);
TsCacheService.of().put(clientIp, String.valueOf(num + 1), 10 * 60);
throw new ApiException("账号或密码错误");
}
}