|
|
@@ -180,6 +180,7 @@ public class PhotoSpeakVideoController extends BaseController { |
|
|
|
|
|
|
|
PhotoSpeakVideo videoUpd = new PhotoSpeakVideo(); |
|
|
|
videoUpd.setId(record.getId()); |
|
|
|
|
|
|
|
if (mouldVideo.getPersonPhotoId() == null) { |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"未查询到人物照片"); |
|
|
|
} |
|
|
@@ -208,6 +209,12 @@ public class PhotoSpeakVideoController extends BaseController { |
|
|
|
if(StringUtils.isBlank(mouldVideo.getPaperwork())){ |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"未填写视频文案数据"); |
|
|
|
} |
|
|
|
|
|
|
|
if (record.getSubtitleEnabled()==1){ |
|
|
|
//开启字幕 |
|
|
|
videoUpd.setSubtitleParams(mouldVideo.getSubtitleParams()); |
|
|
|
} |
|
|
|
|
|
|
|
//TODO 设置预估时长 |
|
|
|
// videoUpd.setVideoTime(); |
|
|
|
}else if(EnumVoiceFrom.FROM_UPD.getCode().equals(voiceFrom)){ |
|
|
|