Commit 8497aca2 by dujunli

修复bug traceid 获取不到的问题

parent 77770012
......@@ -226,7 +226,7 @@ public class XMAppApi {
this.api_startTime = start;
Long requestTime = end - start;
this.api_requestTime = requestTime;
this.api_traceId = head.get("traceId");
this.api_traceId = head.get("traceid");
this.api_request_data = json;
this.api_request_params = params;
this.api_request_headers = headers;
......@@ -281,7 +281,7 @@ public class XMAppApi {
Long requestTime = end - start;
this.api_requestTime = requestTime;
this.api_response = response;
this.api_traceId = head.get("traceId");
this.api_traceId = head.get("traceid");
this.setApi_request_data(json);
this.setApi_request_params(params);
this.api_request_headers = headers;
......
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