修改功能

This commit is contained in:
浅念
2025-03-24 11:13:13 +08:00
parent 0a0ab4d160
commit f7ff9d65a5
10 changed files with 65 additions and 29 deletions
+1 -1
View File
@@ -435,7 +435,7 @@
url: 'http://219.157.255.213:9007/upload/uploadImage',
filePath: imgUrl,
name: 'files',
// header:{'content-type': 'application/x-www-form-urlencoded','Authorization': 'Bearer ' + uni.getStorageSync('token')},
header:{'Authorization': 'Bearer ' + uni.getStorageSync('token')},
success: (uploadFileRes) => {
const path=JSON.parse(uploadFileRes.data)
if(path.code==-1){