|
|
@@ -9,9 +9,7 @@ import com.iformall.exception.BizException; |
|
|
|
import com.iformall.service.AiVideoService; |
|
|
|
import com.iformall.service.sm.UserMouldVideoService; |
|
|
|
import com.iformall.service.sm.VoiceInfoService; |
|
|
|
import com.iformall.sm.AiVideoHelper; |
|
|
|
import com.iformall.sm.AiVideoParam; |
|
|
|
import com.iformall.sm.AiVideoResult; |
|
|
|
import com.iformall.sm.*; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
@@ -34,8 +32,8 @@ public class AiVideoServiceImpl implements AiVideoService { |
|
|
|
private UserMouldVideoService userMouldVideoService; |
|
|
|
|
|
|
|
@Override |
|
|
|
public Double previewVideo(PreviewVideoDTO dto) { |
|
|
|
return voiceInfoService.previewVoice(PreviewVideoDTO.mappingParam(dto)); |
|
|
|
public AiPreviewResult previewVideo(AiPreviewParam aiPreviewParam) { |
|
|
|
return AiVideoHelper.voicePreview(aiPreviewParam); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|