疯狂的狮子li
2021-06-10 35f607f9a541cb78d5ed695f956e22051c3ce0f1
ruoyi-demo/src/main/java/com/ruoyi/demo/controller/RedisLockController.java
@@ -52,7 +52,7 @@
         if (flag) {
            log.info("获取锁成功: " + key);
            Thread.sleep(3000);
            redisLockManager.unLock();
            redisLockManager.unLock(key);
            log.info("释放锁成功: " + key);
         } else {
            log.error("获取锁失败: " + key);