diff --git a/base-framework-common/src/main/java/com/fuhouyu/framework/common/utils/LoggerUtil.java b/base-framework-common/src/main/java/com/fuhouyu/framework/common/utils/LoggerUtil.java index 8618f45..1e345bf 100644 --- a/base-framework-common/src/main/java/com/fuhouyu/framework/common/utils/LoggerUtil.java +++ b/base-framework-common/src/main/java/com/fuhouyu/framework/common/utils/LoggerUtil.java @@ -69,7 +69,7 @@ public static void error(Logger logger, String msg, Object... args) { */ public static void debug(Logger logger, String msg, Object... args) { if (logger.isDebugEnabled()) { - logger.error(msg, args); + logger.debug(msg, args); } } diff --git a/base-framework-security-starter/src/main/java/com/fuhouyu/framework/security/entity/TokenEntity.java b/base-framework-security-starter/src/main/java/com/fuhouyu/framework/security/entity/TokenEntity.java index 224a857..6d1ce7b 100644 --- a/base-framework-security-starter/src/main/java/com/fuhouyu/framework/security/entity/TokenEntity.java +++ b/base-framework-security-starter/src/main/java/com/fuhouyu/framework/security/entity/TokenEntity.java @@ -36,7 +36,7 @@ @Getter @Setter @ToString -public class TokenEntity implements Entity { +public class TokenEntity implements Entity { @Serial private static final long serialVersionUID = 1897123986123785612L; @@ -55,7 +55,7 @@ public TokenEntity(OAuth2AccessToken accessToken, OAuth2RefreshToken refreshToke } @Override - public boolean sameIdentityAs(TokenEntity other) { + public boolean sameIdentityAs(OAuth2AccessToken other) { return EqualsBuilder.reflectionEquals(this, other); } }