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) {