feat():取消验证码
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
// 用户验证
|
||||
|
||||
Reference in New Issue
Block a user