fix token -> at

This commit is contained in:
赵霄
2024-01-18 11:34:38 +08:00
parent 27d32f08a4
commit c8495c1bf9
+2 -2
View File
@@ -203,7 +203,7 @@ export function getFileAccessHttpUrl (avatar, subStr) {
} else {
if (avatar && avatar.length > 0 && avatar.indexOf('[') === -1) {
const token = Vue.ls.get(ACCESS_TOKEN)
return window._CONFIG.domianURL + '/sys/common/view' + '/' + avatar + '?token=' + token
return window._CONFIG.domianURL + '/sys/common/view' + '/' + avatar + '?at=' + token
}
}
} catch (err) {
@@ -225,4 +225,4 @@ export function postForParams (url, parameter) {
params: parameter,
headers: signHeader
})
}
}