From cece5b745e4a0d27fbaa46d0b0eb98d01495f319 Mon Sep 17 00:00:00 2001 From: wangzhiwei Date: Thu, 8 Jan 2026 11:06:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0LibraryItem=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=E5=B9=B6=E4=BC=98=E5=8C=96=E7=AD=9B=E9=80=89=E8=83=BD?= =?UTF-8?q?=E5=8A=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. 创建了完整的LibraryItem功能模块 - 实体类:LibraryItem - Mapper:LibraryItemMapper - Service:LibraryItemService - Controller:LibraryItemController - 相关模型类 2. 将tags字段替换为四个独立字段 - age:年龄(youth-青年,middle-中年,old-老年) - gender:性别(male-男性,female-女性) - scene:场景(emotion-情感,podcast-播客,education-教育) - language:语种(chinese-中文,english-英语) 3. 支持多条件筛选 - 在pageList方法中添加了根据age、gender、scene、language字段筛选的逻辑 - 优化了SQL查询性能 4. 生成了完整的SQL文件 - 创建了dh_library_item表 - 添加了合理的索引设计 - 包含了示例数据 - 提供了查询示例 5. 创建了.gitignore文件 - 忽略了不必要的文件和目录 - 优化了git仓库结构 --- .../business/model/req/DigitalHumanReq.java | 28 +++++++++---------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/continew-admin-business/src/main/java/top/continew/admin/business/model/req/DigitalHumanReq.java b/continew-admin-business/src/main/java/top/continew/admin/business/model/req/DigitalHumanReq.java index 3527723..8f828dc 100644 --- a/continew-admin-business/src/main/java/top/continew/admin/business/model/req/DigitalHumanReq.java +++ b/continew-admin-business/src/main/java/top/continew/admin/business/model/req/DigitalHumanReq.java @@ -39,18 +39,18 @@ public class DigitalHumanReq extends BaseReq { */ private String generatedVideoUrl; - // /** - // * 字幕项列表(冗余存储,用于快速回显) - // */ - // private String subtitle; - // - // /** - // * 字幕样式配置(冗余或快照) - // */ - // private String subtitleStyle; - // - // /** - // * 特效列表(冗余存储) - // */ - // private String effects; + /** + * 字幕项列表(冗余存储,用于快速回显) + */ + private String subtitle; + + /** + * 字幕样式配置(冗余或快照) + */ + private String subtitleStyle; + + /** + * 特效列表(冗余存储) + */ + private String effects; } \ No newline at end of file