You've already forked FrameTour-BE
content返回url
This commit is contained in:
@@ -25,6 +25,7 @@ public class ContentPageVO {
|
|||||||
private int lockType;
|
private int lockType;
|
||||||
// 内容id contentType为0或1时才有值
|
// 内容id contentType为0或1时才有值
|
||||||
private Long contentId;
|
private Long contentId;
|
||||||
|
private String videoUrl;
|
||||||
// 模版id
|
// 模版id
|
||||||
private Long templateId;
|
private Long templateId;
|
||||||
private String templateCoverUrl;
|
private String templateCoverUrl;
|
||||||
|
@@ -691,6 +691,7 @@ public class FaceServiceImpl implements FaceService {
|
|||||||
contentPageVO.setContentId(memberVideoEntityList.getFirst().getVideoId());
|
contentPageVO.setContentId(memberVideoEntityList.getFirst().getVideoId());
|
||||||
VideoEntity video = videoRepository.getVideo(contentPageVO.getContentId());
|
VideoEntity video = videoRepository.getVideo(contentPageVO.getContentId());
|
||||||
if (video != null) {
|
if (video != null) {
|
||||||
|
contentPageVO.setVideoUrl(video.getVideoUrl());
|
||||||
contentPageVO.setDuration(video.getDuration());
|
contentPageVO.setDuration(video.getDuration());
|
||||||
contentPageVO.setLockType(-1);
|
contentPageVO.setLockType(-1);
|
||||||
TaskUpdateResult updResult = videoTaskRepository.checkTaskUpdate(video.getTaskId());
|
TaskUpdateResult updResult = videoTaskRepository.checkTaskUpdate(video.getTaskId());
|
||||||
|
Reference in New Issue
Block a user