- 问题: 用户切换到本地存储后,旧分享仍使用创建时的SFTP存储类型,导致404错误 - 修复: 在4个位置将share.storage_type改为shareOwner.current_storage_type - /api/share/:code/verify (缓存未命中逻辑) - /api/share/:code/verify (错误回退逻辑) - /api/share/:code/list (文件列表) - /api/share/:code/download-file (文件下载) - 重构: 调整代码顺序,先获取shareOwner再定义storageType - 日志: 添加"(分享者当前)"标识,便于调试
66 KiB
66 KiB