xkcoding/spring-boot-demo

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

echohw opened this issue · 1 comments

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

if (!annotation.annotationType().isInstance(LockKeyParam.class)) {
...
Object value = declaredField.get(clazz);

谢谢~