diff --git a/README.md b/README.md index ce3ce891..98df5d37 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ central-platform -- 父项目,公共依赖 - +
华为云腾讯云腾讯云
diff --git a/zlt-commons/zlt-common-spring-boot-starter/src/main/java/com/central/common/filter/TraceFilter.java b/zlt-commons/zlt-common-spring-boot-starter/src/main/java/com/central/common/filter/TraceFilter.java index d07fe343..ca66d5f4 100644 --- a/zlt-commons/zlt-common-spring-boot-starter/src/main/java/com/central/common/filter/TraceFilter.java +++ b/zlt-commons/zlt-common-spring-boot-starter/src/main/java/com/central/common/filter/TraceFilter.java @@ -42,7 +42,7 @@ public class TraceFilter extends OncePerRequestFilter { filterChain.doFilter(request, response); } finally { - MDC.clear(); + MDC.remove(CommonConstant.LOG_TRACE_ID); } } }