2 Commits

Author SHA1 Message Date
f0d140c646 feat: 支持视频及缩略图元数据存储
All checks were successful
test/timeline-server/pipeline/head This commit looks good
在文件服务和故事服务中增加了对视频、持续时间及缩略图相关字段的支持。

- 在 `ImageInfo` 和 `StoryItem` 实体类中添加 `duration`、`thumbnailInstanceId` 等字段
- 更新 MyBatis 映射文件以支持新字段的持久化
- 在 `FileService` 中新增 `generateVideoUrl` 接口用于获取视频预签名地址
- 调整 `saveFileMetadata` 接口返回生成的 `instanceId`
- 优化了部分代码的格式和缩进
2026-02-12 14:43:57 +08:00
0349bf3c70 refactor: 移除 StoryItem 的分享相关功能和字段
All checks were successful
test/timeline-server/pipeline/head This commit looks good
从 StoryItem 实体类中删除了 shareId、type、status 和 cover 字段,并注释掉了控制器、服务层及 Mapper 中所有根据 shareId 查询的方法。同时同步更新了 SQL 映射文件,移除了对应的数据库操作字段。
2026-02-12 10:14:44 +08:00