更新client打包配置,优化http路由逻辑

This commit is contained in:
aoshiguchen
2022-10-12 17:19:59 +08:00
parent 0dd37dd661
commit b0e594a82b
3 changed files with 40 additions and 7 deletions
@@ -41,7 +41,9 @@ public class VisitLogInterceptor implements HandlerInterceptor {
@Override
public boolean preHandle(HttpRequestWrapper requestParser, HttpResponseWrapper responseWrapper, String route, Method targetMethod) throws Exception {
SystemContextHolder.getContext().setReceiveTime(new Date());
if (null != SystemContextHolder.getContext()) {
SystemContextHolder.getContext().setReceiveTime(new Date());
}
return true;
}