优化素质测评功能
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user