feat(uploader): 重构文件上传模块为策略模式并优化录音记录处理
- 新增上传策略接口 IUploadStrategy 及阿里云 OSS 和 uni.uploadFile 两种实现 - 引入统一的文件上传服务 FileUploadService,支持运行时切换上传策略 - 重构 RecordSave 服务,使用新的上传服务替代旧的 FileUploadManager - 优化录音记录处理逻辑,移除 tempFilePath 字段并修复文件路径处理 - 支持 .m4a 格式音频文件上传,增强错误日志记录 - 清理无用代码,移除已注释的迁移逻辑和调试日志
Showing
24 changed files
with
307 additions
and
241 deletions
This diff is collapsed.
Click to expand it.
No preview for this file type
This diff could not be displayed because it is too large.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
-
Please register or sign in to post a comment