From 87fa8ba5fa9eb8c3dd0d5e8ee21067b72d78bb04 Mon Sep 17 00:00:00 2001 From: sin <2943460818@qq.com> Date: Mon, 11 Mar 2019 22:47:11 +0800 Subject: [PATCH] =?UTF-8?q?-=20=E6=B7=BB=E5=8A=A0=E9=9C=80=E8=A6=81?= =?UTF-8?q?=E7=99=BB=E5=BD=95=E9=94=99=E8=AF=AF=E7=A0=81=EF=BC=8C=E6=8F=90?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin-web/src/utils/request.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/admin-web/src/utils/request.js b/admin-web/src/utils/request.js index d991a914e..cafb0d772 100644 --- a/admin-web/src/utils/request.js +++ b/admin-web/src/utils/request.js @@ -26,10 +26,10 @@ const codeMessage = { // 需要调整 login 界面的 code const redirectLoginCode = { - 1002001011: true, - 1002001012: true, - 1002001013: true, - 1002001015: true, + 1002001011: '访问令牌不存在', + 1002001012: '访问令牌已过期', + 1002001013: '访问令牌已失效', + 1002001015: '账号未登陆', }; function checkStatus(response) {