|
|
@@ -64,7 +64,7 @@ public class VoiceInfoServiceImpl implements VoiceInfoService { |
|
|
|
param.setGender(voiceInfo.getSex() == 1 ? "male" : "female"); |
|
|
|
AiPreviewResult result = AiVideoHelper.voicePreview(param); |
|
|
|
if (result.isSuccess()){ |
|
|
|
return new ResultData(); |
|
|
|
return new ResultData(result.getUrl()); |
|
|
|
} |
|
|
|
return new ResultData(ErrorCode.SYS_SERVER_ERROR.getCode(), result.getMsg()); |
|
|
|
} |
|
|
|