Commit 4cef62c7 authored by leon's avatar leon

feat: http request header add requestId

parent 90a8f0d8
......@@ -25,6 +25,7 @@ const install = (Vue, vm) => {
uni.showLoading()
}
config.header.Authorization = vm.vuex_token
config.header.requestId = vm.$u.guid()
return config
}, (config) => {
return Promise.reject(config)
......
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