YOUFANG1.1

This commit is contained in:
zongzhimin
2018-04-12 11:52:58 +08:00
parent 9f316bca49
commit e4ad72dbba
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ axios.defaults.headers.post['Content-Type'] = 'application/json';
// 添加请求拦截器
axios.interceptors.request.use(function (config) {
var token = localStorage.getItem("user_token");
config.headers.Authorization = token
config.headers.Authorization = '21F5BEEE8781DAD0FD482CE7BBF63D8528A117413B9E5BC5B30996B6D40F05B386FE46D10CA96BB7314609CE68786793DF8C48EDAD389755014DB72D76D6D1DC2A237FF4F0F563AB4EED7FA4ABD2E0438CC2A294891A7B3E14D649F4F02C7CCC95CB3BC8D2787F04F7FF1434ECAE6C3F5F88AD6E655796B58AFA47155D682A7A'
return config;
}, function (error) {
return Promise.reject(error);