feat(ai): 添加产品要点朗读功能支持
- 在AiProductPoint实体中新增talkContext字段用于存储朗读内容
- 在ApiProductPointInfoVo响应对象中添加talkContext属性定义
- 在服务实现中将实体的talkContext数据映射到响应对象
- 为talkContext字段添加API文档注解说明
| | |
| | | private String title; |
| | | |
| | | /** |
| | | * 朗读 |
| | | */ |
| | | private String talkContext; |
| | | |
| | | /** |
| | | * 描述 |
| | | */ |
| | | private String description; |
| | |
| | | /** |
| | | * 描述 |
| | | */ |
| | | @ApiModelProperty(value = "朗读内容") |
| | | private String talkContext; |
| | | @ApiModelProperty(value = "描述") |
| | | private String description; |
| | | @ApiModelProperty(value = "视屏") |
| | |
| | | apiProductPointInfoVo.setFeedId(entity.getFeedId()); |
| | | apiProductPointInfoVo.setFeedImg(entity.getFeedImg()); |
| | | apiProductPointInfoVo.setTitle(entity.getTitle()); |
| | | apiProductPointInfoVo.setTalkContext(entity.getTalkContext()); |
| | | apiProductPointInfoVo.setDescription(entity.getDescription()); |
| | | } |
| | | return new FebsResponse().success().data(apiProductPointInfoVo); |