Browse Source

修改视频创建逻辑、新增图片检查接口、新增百度API接口、修改上传阿里云检查、新增回调接口

private_deployment
lrh 1 year ago
parent
commit
21b192773f
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      suimangService/src/main/java/com/iformall/service/sm/impl/PhotoSpeakVideoServiceImpl.java

+ 5
- 0
suimangService/src/main/java/com/iformall/service/sm/impl/PhotoSpeakVideoServiceImpl.java View File

@@ -255,6 +255,11 @@ public class PhotoSpeakVideoServiceImpl implements PhotoSpeakVideoService {
PhotoSpeakVideo videoUpd = new PhotoSpeakVideo(); PhotoSpeakVideo videoUpd = new PhotoSpeakVideo();
videoUpd.setId(mouldVideo.getId()); videoUpd.setId(mouldVideo.getId());
videoUpd.setVideoId(result.getVideoId()); videoUpd.setVideoId(result.getVideoId());
videoUpd.setVideoPlayUrl(url);
videoUpd.setCoverImg(result.getCoverURL());
videoUpd.setVideoPlayUrl(result.getVideoUrl());
videoUpd.setVideoTime(result.getDuration());
videoUpd.setVideoSize(result.getSize());
videoUpd.setVideoStatus(EnumVideoStatus.upload_ing.getCode()); videoUpd.setVideoStatus(EnumVideoStatus.upload_ing.getCode());
this.saveOrUpdate(videoUpd); this.saveOrUpdate(videoUpd);




Loading…
Cancel
Save