redis分布式锁,基于spring,jedis. 代码链接如下: https://github.com/bjling/javaUtils/blob/release/utils/src/main/java/com/hippo/utils/redis/RedisService.java