|
|
@@ -109,7 +109,7 @@ public class PhotoSpeakVideoServiceImpl implements PhotoSpeakVideoService { |
|
|
|
voiceMouldObject.put("speakType",0); |
|
|
|
voiceMouldObject.put("speakTypeStr","默认"); |
|
|
|
if(StringUtils.isNotBlank(record.getSpeakTypeStr())){ |
|
|
|
EnumSpeakType speakType = EnumSpeakType.getEnum(record.getSpeakTypeStr()); |
|
|
|
EnumSpeakType speakType = EnumSpeakType.getEnumByMsg(record.getSpeakTypeStr()); |
|
|
|
if(speakType == null){ |
|
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_ERROR.getCode(),"声音类型信息错误"); |
|
|
|
} |
|
|
|