From b549b794204c68fe706501ff61259d4cb2d4d7c3 Mon Sep 17 00:00:00 2001 From: hejianhao <15708179461@qq.com> Date: 星期一, 17 三月 2025 16:35:33 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/H5/threeSide --- management/src/utils/utils.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/management/src/utils/utils.js b/management/src/utils/utils.js index 20213a5..97e1584 100644 --- a/management/src/utils/utils.js +++ b/management/src/utils/utils.js @@ -57,7 +57,7 @@ ...params, }), headers: { - Authorization: localStorage.getItem('token'), + Authorization:'Bearer ' + localStorage.getItem('token'), 'ConTent-Type': 'application/json;charset=UTF-8', timestamp: new Date().getTime(), client: localStorage.getItem('client') @@ -85,7 +85,7 @@ method: 'get', responseType: 'blob', headers: { - Authorization: localStorage.getItem('token'), + Authorization:'Bearer ' + localStorage.getItem('token'), 'ConTent-Type': 'application/json;charset=UTF-8', timestamp: new Date().getTime(), client: localStorage.getItem('client') -- Gitblit v1.7.1