consul实现分布式锁

consul实现分布式锁
原文地址:https://www.cnblogs.com/ExMan/p/13905693.html