基于 Redis 分布式锁实现“秒杀”(含代码) 转载:http://www.iocoder.cn/Fight/Implementation-of-kill-in-seconds-based-on-Redis-distributed-lock-including-code/ redis分布式锁的正确实现方式:https://wudashan.cn/2017/10/23/Redis-Distributed-Lock-Implement/ 转载理由:网上有很多版本,这是我见过很优雅的写法