|
@@ -494,7 +494,10 @@ public class UserMouldVideoServiceImpl implements UserMouldVideoService { |
|
|
videoUpd.setId(userMouldVideo.getId()); |
|
|
videoUpd.setId(userMouldVideo.getId()); |
|
|
videoUpd.setCoverImg(videoDetail.getCoverURL()); |
|
|
videoUpd.setCoverImg(videoDetail.getCoverURL()); |
|
|
videoUpd.setVideoPlayUrl(videoDetail.getVideoUrl()); |
|
|
videoUpd.setVideoPlayUrl(videoDetail.getVideoUrl()); |
|
|
videoUpd.setVideoTime(videoDetail.getDuration()); |
|
|
|
|
|
|
|
|
Double _vt = Double.valueOf(videoDetail.getDuration()); |
|
|
|
|
|
if (null != _vt && _vt > 0) { |
|
|
|
|
|
videoUpd.setVideoTime(videoDetail.getDuration()); |
|
|
|
|
|
} |
|
|
videoUpd.setVideoSize(videoDetail.getSize()); |
|
|
videoUpd.setVideoSize(videoDetail.getSize()); |
|
|
videoUpd.setVideoStatus(EnumVideoStatus.upload_success.getCode()); |
|
|
videoUpd.setVideoStatus(EnumVideoStatus.upload_success.getCode()); |
|
|
videoUpd.setVideoMsg("视频上传成功"); |
|
|
videoUpd.setVideoMsg("视频上传成功"); |
|
|