Commit 8486d785 authored by 肖人杰's avatar 肖人杰

'调整sdk报错'

parent b6e4b196
......@@ -54,6 +54,8 @@ http.interceptors.request.use(function (config) {
config.url = config.url.replace(pathKey, global.serviceMap[pathKey])
}
}
}
if (config.context && config.context.span) {
let tracer = opentracing.globalTracer();
let span = tracer.startSpan(`${config.method}: ${config.url}`, {
......
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