添加动图支持,优化图片和视频上传逻辑,调整超时设置,增强评论时间格式化

This commit is contained in:
2025-10-23 00:58:56 +08:00
parent fe9bc8fd6c
commit 77bc2c5775
15 changed files with 82 additions and 31 deletions
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "ImageFile" ADD COLUMN "animated" TEXT;
+2
View File
@@ -143,6 +143,8 @@ model ImageFile {
width Int?
height Int?
animated String? // 如果是动图,存储 video 格式的 URL
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt