From a60b5fae1cefdcddceb866c2ad54fdef0e270c07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=BA=9A=E7=90=AA?= Date: Mon, 8 Jul 2024 13:14:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20token=E4=B8=BA=E7=A9=BA=E6=97=B6?= =?UTF-8?q?=E6=8A=9B=E5=87=BA=E6=A0=A1=E9=AA=8Ctoken=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E7=9A=84=E9=94=99=E8=AF=AF=E4=BB=A5=E4=BE=BFuniIdRouter?= =?UTF-8?q?=E8=83=BD=E6=AD=A3=E5=B8=B8=E8=B7=B3=E8=BD=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/token/token-utils.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/lib/token/token-utils.js b/src/lib/token/token-utils.js index e9a9fa2..24c4f98 100644 --- a/src/lib/token/token-utils.js +++ b/src/lib/token/token-utils.js @@ -353,10 +353,7 @@ export default class TokenUtils { } = {}) { if (!token) { throw { - errCode: ERROR.PARAM_REQUIRED, - errMsgValue: { - param: 'token' - } + errCode: ERROR.CHECK_TOKEN_FAILED } } this.oldToken = token -- GitLab