diff --git a/sdk/common/src/main/java/io/dataease/auth/filter/CommunityTokenFilter.java b/sdk/common/src/main/java/io/dataease/auth/filter/CommunityTokenFilter.java index c2cc44fdd1..bde3c23e13 100644 --- a/sdk/common/src/main/java/io/dataease/auth/filter/CommunityTokenFilter.java +++ b/sdk/common/src/main/java/io/dataease/auth/filter/CommunityTokenFilter.java @@ -43,7 +43,7 @@ public class CommunityTokenFilter implements Filter { Object apisixCacheManage = CommonBeanFactory.getBean("apisixCacheManage"); Method method = DeReflectUtil.findMethod(apisixCacheManage.getClass(), "userCacheBO"); Object o = ReflectionUtils.invokeMethod(method, apisixCacheManage, userId); - Method pwdMethod = DeReflectUtil.findMethod(o.getClass(), "getPwd"); + Method pwdMethod = DeReflectUtil.findMethod(o.getClass(), "getSecret"); Object pwdObj = ReflectionUtils.invokeMethod(pwdMethod, o); secret = pwdObj.toString(); }