Commit aef543c9 authored by 张永's avatar 张永

S

parent 7a6468ce
......@@ -48,7 +48,7 @@ public class OpenInterceptor extends HandlerInterceptorAdapter {
//设置一个requetId
String traceId = req.getHeader(LogBackUtil.TRACE_ID);
if(!StringUtil.isNotBlank(traceId)) {
traceId = StringUtil.getId();
traceId = StringUtil.getId(31,"S");
}
LogBackUtil.setTraceId(traceId);
resp.setHeader(LogBackUtil.TRACE_ID, traceId);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment