修改token
This commit is contained in:
parent
7c9b0746bc
commit
1f6c58eeba
|
@ -64,7 +64,7 @@ service.interceptors.request.use(
|
|||
// if (window.localStorage.userToken) {
|
||||
let token = getToken()
|
||||
if (token) {
|
||||
config.headers['token'] = token
|
||||
config.headers['zt-token'] = token
|
||||
}
|
||||
|
||||
if (config.url.indexOf('updateDto') != -1 || config.url.indexOf('saveDto') != -1) {
|
||||
|
|
|
@ -40,12 +40,12 @@ module.exports = {
|
|||
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
||||
[process.env.VUE_APP_BASE_API]: {
|
||||
// target: `http://hzya.ufyct.com:9067/`,
|
||||
//target: `http://ufidahz.com.cn:9067/`,
|
||||
target: `http://ufidahz.com.cn:9067/`,
|
||||
// target: `http://127.0.0.1:9081/`,
|
||||
// target: `http://192.168.2.78:9999`,
|
||||
// target: `http://192.168.2.85:9999`,
|
||||
// target: `http://192.168.2.78:8080`,
|
||||
target: `http://192.168.2.78:10086`,
|
||||
// target: `http://192.168.2.78:10086`,
|
||||
// target: `http://192.168.2.185:10086`,
|
||||
// target: `http://192.168.2.83:9999`,
|
||||
// target:'http://127.0.0.1:9999/',
|
||||
|
|
Loading…
Reference in New Issue