hb 4.5 接口sendUploadFileQZLIMS('接口名', file,
'file', {
'testNo': that.form.testNo,
'pic_user':username,
"upVer":that.upVer
}).then
uni.uploadFile({
fileType: 'image',
name: name,
formData: formData,
// #ifdef APP-PLUS
url: ConfigPath.SERVERQZLIMS +
url,
filePath: filePath,
sslVerify: false,
// #endif
// #ifdef H5
url: ConfigPath.SERVERQZLIMS + url,
file: filePath,
timeout: 30000000,
// #endif
header: {
'Authorization': uni.getStorageSync('token').tokenHead + uni.getStorageSync('token')
.token,
},