|
|
@ -31,7 +31,7 @@ service.interceptors.request.use( |
|
|
|
config.headers['customerId'] = store.state.app.userInfo.customerId |
|
|
|
} |
|
|
|
if (store.state.app.userInfo.id) { |
|
|
|
config.headers['userId'] = store.state.app.userInfo.id |
|
|
|
config.headers['userId'] = ''; |
|
|
|
} |
|
|
|
config.baseURL = config.baseURL + '/' |
|
|
|
return config |
|
|
|