修复店务预约与小程序生产问题

This commit is contained in:
2026-07-20 01:22:37 +08:00
parent 92949f9368
commit d180880445
25 changed files with 565 additions and 70 deletions
+11
View File
@@ -109,8 +109,19 @@ function uploadProfileImage(filePath) {
})
}
function uploadAvatar(filePath) {
return uploadFile({
url: '/user/upload-avatar',
baseUrl: API_DOMAIN,
filePath,
name: 'file',
errorMessage: '头像上传失败'
})
}
module.exports = {
chooseImageFilePath,
uploadObjectFile,
uploadAvatar,
uploadProfileImage
}