人才导入请求头加token

main
lijingyu007 6 months ago
parent 1c822118bc
commit 4b8d1881c9
  1. 2
      .env.development
  2. 4
      src/views/trainService/talentPool.vue

@ -5,7 +5,7 @@ ENV = 'development'
VUE_APP_BASE_API = '/test-api' VUE_APP_BASE_API = '/test-api'
# VUE_APP_BASE_TARGET = 'http://www.keyitest.cn/test-api' # VUE_APP_BASE_TARGET = 'http://www.keyitest.cn/test-api'
VUE_APP_BASE_TARGET = 'http://192.168.0.129:9999' VUE_APP_BASE_TARGET = 'http://192.168.0.229:9999'
# VUE_APP_BASE_TARGET = 'http://172.16.36.180:9999' # VUE_APP_BASE_TARGET = 'http://172.16.36.180:9999'
# 路由懒加载 # 路由懒加载

@ -185,8 +185,8 @@ export default {
// //
updateSupport: 0, updateSupport: 0,
// //
// headers: { Authorization: 'Bearer ' + getToken() }, headers: { Authorization: 'Bearer ' + getToken() },
headers: { isToken: false }, // headers: { isToken: false },
// //
url: process.env.VUE_APP_BASE_API + '/talent/admin/import', url: process.env.VUE_APP_BASE_API + '/talent/admin/import',
}, },

Loading…
Cancel
Save