Browse Source

Merge branch 'wyp/0108-articleVideoAudit' of Server/long-article-recommend into master

wangyunpeng 6 months ago
parent
commit
1be1a7a29f

+ 1 - 0
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/model/vo/ArticleVideoAuditListVO.java

@@ -9,6 +9,7 @@ public class ArticleVideoAuditListVO {
 
     private String contentId;
     private String title;
+    private String kimiTitle;
     private Integer videoCount;
     private Integer waitingAuditVideoCount;
     private Integer status;

+ 1 - 1
long-article-recommend-service/src/main/java/com/tzld/longarticle/recommend/server/service/recommend/ArticleVideoAuditService.java

@@ -80,7 +80,7 @@ public class ArticleVideoAuditService {
             List<ArticleVideoAuditListVO.VideoItem> videoItems = videos.stream().map(video -> {
                 ArticleVideoAuditListVO.VideoItem videoItem = new ArticleVideoAuditListVO.VideoItem();
                 videoItem.setVideoId(video.getId());
-                videoItem.setTitle(video.getVideoTitle());
+                videoItem.setTitle(item.getKimiTitle());
                 videoItem.setVideoUrl(cdnUrl + video.getVideoOssPath());
                 if (StringUtils.hasText(video.getCoverOssPath())) {
                     videoItem.setCoverUrl(cdnUrl + video.getCoverOssPath());

+ 1 - 1
long-article-recommend-service/src/main/resources/mapper/longArticle/ArticleAuditMapper.xml

@@ -37,7 +37,7 @@
     <select id="articleVideoAuditList"
             resultType="com.tzld.longarticle.recommend.server.model.vo.ArticleVideoAuditListVO">
         select long_articles_title_audit.content_id, long_articles_title_audit.status,
-        long_articles_text.article_title as title,
+        long_articles_text.article_title as title, long_articles_text.kimi_title,
         long_articles_title_audit.audit_account, long_articles_title_audit.audit_timestamp
         from long_articles_title_audit
         left join long_articles_text on long_articles_title_audit.content_id = long_articles_text.content_id