From 5475a0c3aee74dfd096fbc66121b7716c5e499de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E5=90=89=E6=AC=A2?= Date: Mon, 14 May 2018 18:40:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8A=A0=E4=B8=8A=E7=89=88=E6=9C=AC=E5=8F=B7?= =?UTF-8?q?=E5=8C=BA=E5=88=86=E6=96=B0=E6=97=A7=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fangija-zsyf/js/axiosPlugin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/fangija-zsyf/js/axiosPlugin.js b/fangija-zsyf/js/axiosPlugin.js index bf0c8cc..4c7c481 100644 --- a/fangija-zsyf/js/axiosPlugin.js +++ b/fangija-zsyf/js/axiosPlugin.js @@ -6,6 +6,7 @@ axios.defaults.timeout = 120000; axios.interceptors.request.use(function (config) { var token = localStorage.getItem("user_token"); config.headers.Authorization = token; + config.headers.appVersion = "1.1"; return config; }, function (error) { return Promise.reject(error);