no message

This commit is contained in:
wangjianhong
2025-07-25 09:25:32 +08:00
parent c29abb1b83
commit bca87e7b0d
2 changed files with 19 additions and 22 deletions

View File

@@ -62,7 +62,6 @@ public class JwtRequestFilter extends OncePerRequestFilter {
} }
private String extractJwtFromRequest(HttpServletRequest request) { private String extractJwtFromRequest(HttpServletRequest request) {
String jwt = null; String jwt = null;
@@ -85,8 +84,7 @@ public class JwtRequestFilter extends OncePerRequestFilter {
try { try {
return JwtUtils.extractUsername(jwt); return JwtUtils.extractUsername(jwt);
} catch (Exception e) { } catch (Exception e) {
logger.warn("Failed to extract username from token", e); throw new RuntimeException(e.getMessage());
throw new RuntimeException("Failed to extract username from token");
} }
} }
@@ -117,7 +115,6 @@ public class JwtRequestFilter extends OncePerRequestFilter {
} }
/** /**
* 封装的打印请求详情方法 * 封装的打印请求详情方法
*/ */

View File

@@ -45,7 +45,7 @@ spring:
name: authorization-server-standalone name: authorization-server-standalone
data: data:
redis: redis:
host: localhost host: 127.0.0.1
port: 6379 port: 6379
password: yyds@8848 password: yyds@8848
lettuce: lettuce:
@@ -62,20 +62,20 @@ logging:
root: INFO root: INFO
com.arrokoth: DEBUG com.arrokoth: DEBUG
org.springdoc: INFO org.springdoc: INFO
org.springframework: DEBUG org.springframework: INFO
#mybatis: mybatis:
# type-aliases-package: com.arrokoth.**.domain type-aliases-package: com.arrokoth.**.domain
# mapper-locations: classpath*:com.arrokoth/**/mapper/xml/*.xml mapper-locations: classpath*:com.arrokoth/**/mapper/xml/*.xml
# configuration: configuration:
# map-underscore-to-camel-case: true map-underscore-to-camel-case: true
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
#mybatis-plus: mybatis-plus:
# type-aliases-package: com.arrokoth.**.domain type-aliases-package: com.arrokoth.**.domain
# mapper-locations: classpath*:com.arrokoth/**/mapper/xml/*.xml mapper-locations: classpath*:com.arrokoth/**/mapper/xml/*.xml
# global-config: global-config:
# banner: true banner: true
# enable-sql-runner: true enable-sql-runner: true
# configuration: configuration:
# map-underscore-to-camel-case: true map-underscore-to-camel-case: true
# check-config-location: true check-config-location: true