Commit 3cc1f3eb authored by leon's avatar leon

feat: http request header add source

parent f3074f25
...@@ -26,6 +26,8 @@ const install = (Vue, vm) => { ...@@ -26,6 +26,8 @@ const install = (Vue, vm) => {
} }
config.header.Authorization = vm.vuex_token config.header.Authorization = vm.vuex_token
config.header.requestId = vm.$u.guid() config.header.requestId = vm.$u.guid()
config.header.source = "wechat"
return config return config
}, (config) => { }, (config) => {
return Promise.reject(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