feat():取消验证码

This commit is contained in:
Penknife
2025-01-11 13:19:43 +08:00
parent a90878e251
commit 252801431e
2 changed files with 2 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ public class RabbitQueueListener {
Double rolledLength = Double.parseDouble(
JSONUtil.parse(message).getByPath("rolledLength").toString()
);
if(LastRolledLength==rolledLength){
if(Math.abs(LastRolledLength-rolledLength)<1){
return;
}
if(LastRolledLength-rolledLength>300) {

View File

@@ -64,7 +64,7 @@ public class SysLoginService
public String login(String username, String password, String code, String uuid)
{
// 验证码校验
validateCaptcha(username, code, uuid);
// validateCaptcha(username, code, uuid);
// 登录前置校验
loginPreCheck(username, password);
// 用户验证