tsurumure 1 éve
szülő
commit
9a92fde9bb

+ 1 - 1
src/main/java/com/backendsys/controller/api/TestController.java

@@ -536,7 +536,7 @@ public class TestController {
     @GetMapping("testMD5")
     public String testMD5(String value) throws NoSuchAlgorithmException {
         String password = Optional.ofNullable(value).orElse("123456");
-        String version = "0.0.45";
+        String version = "0.0.46";
         return "Value: " + value + "\n" +
                 "MD5: " + MD5Util.encrypt(password) + "\n" +
                 "Version: " + version;

+ 0 - 3
src/main/java/com/backendsys/utils/CountUtil.java

@@ -37,9 +37,6 @@ public class CountUtil {
         Integer timeout = 2;
         String errKey = key + "-" + tag;
         String errValue = stringRedisTemplate.opsForValue().get(errKey);
-        System.out.println("errKey: " + errKey);
-        System.out.println("errValue: " + errValue);
-        System.out.println("--------------------------");
         if (errValue != null && Integer.valueOf(errValue) >= 5) {
             throw new CustomException("错误次数过多,为账号安全,请等待" + timeout + "分钟后重新尝试", ResultEnum.LOCK_CREDENTIALS.getCode());
         }