提交 a2b82cd3 编写于 作者: 如梦技术's avatar 如梦技术 🐛

优化 thread local clean.

上级 19de34d3
...@@ -143,9 +143,9 @@ public class MsgInterceptor extends HandlerInterceptorAdapter { ...@@ -143,9 +143,9 @@ public class MsgInterceptor extends HandlerInterceptorAdapter {
} }
@Override @Override
public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler, Exception ex) throws Exception { public void afterConcurrentHandlingStarted(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {
super.afterCompletion(request, response, handler, ex);
ApiConfigKit.removeThreadLocalAppId(); ApiConfigKit.removeThreadLocalAppId();
WxaConfigKit.removeThreadLocalAppId(); WxaConfigKit.removeThreadLocalAppId();
} }
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册