xkcoding / spring-boot-demo

🚀一个用来深入学习并实战 Spring Boot 的项目。
https://parg.co/UZM
MIT License
32.87k stars 10.82k forks source link

[BUG]使用ZooKeeper实现分布式锁的demo中,无法获取到动态key #189

Open echohw opened 3 years ago

echohw commented 3 years ago

错误位置(com.xkcoding.zookeeper.aspectj.ZooLockAspect#buildLockKey):

if (!annotation.annotationType().isInstance(LockKeyParam.class)) {
...
Object value = declaredField.get(clazz);
xkcoding commented 3 years ago

谢谢~