优化素质测评功能

This commit is contained in:
2025-11-28 13:55:54 +08:00
parent 690c0fd6db
commit a31ea56a70
6 changed files with 12 additions and 32 deletions

View File

@@ -8,7 +8,10 @@ request.globalRequest = (url, method, data, power, type) => {
// 1 == 不通过access_token校验的接口
// 2 == 文件下载接口列表
const userInfo = uni.getStorageSync('CAuserInfo')
headers['Token'] = userInfo.token
console.log("ca用户",userInfo);
if(userInfo != ""){
headers['Token'] = userInfo.token
}
return uni.request({
timeout: 60000,
url: baseUrl + url,