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