fix(worker): 素材下载storage_key为空时fallback到file_url,兼容存量数据 #485
Reference in New Issue
Block a user
Delete Branch "fix/download-asset-storage-key-fallback"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题
#480 把素材下载从 file_url 改成 storage_key 字段后,存量数据的 storage_key 都是空的(新字段默认空字符串),导致所有素材下载失败。
根因
修复
4处下载逻辑统一加 fallback:storage_key 为空时用 file_url
测试
CI全绿,自动审批通过。
CI全绿,自动审批通过。