|
|
@@ -209,7 +209,8 @@ public class UserMouldVideoServiceImpl implements UserMouldVideoService { |
|
|
|
try{ |
|
|
|
JSONObject personMouldObject = JSONObject.parseObject(mouldVideo.getPersonMouldSm()); |
|
|
|
personMouldSmId = personMouldObject.getString("mouldSmId"); |
|
|
|
}catch(Exception e){ |
|
|
|
}catch(Exception e){} |
|
|
|
if(StringUtils.isBlank(personMouldSmId)){ |
|
|
|
msg = "参数错误,未找到人物模板数据"; |
|
|
|
} |
|
|
|
} |
|
|
@@ -227,7 +228,8 @@ public class UserMouldVideoServiceImpl implements UserMouldVideoService { |
|
|
|
try{ |
|
|
|
JSONObject personMouldObject = JSONObject.parseObject(mouldVideo.getVoiceMouldSm()); |
|
|
|
voiceMouldSmId = personMouldObject.getString("mouldSmId"); |
|
|
|
}catch(Exception e){ |
|
|
|
}catch(Exception e){} |
|
|
|
if(StringUtils.isBlank(voiceMouldSmId)){ |
|
|
|
msg = "参数错误,未找到声音模板数据"; |
|
|
|
} |
|
|
|
} |
|
|
@@ -265,7 +267,7 @@ public class UserMouldVideoServiceImpl implements UserMouldVideoService { |
|
|
|
}catch(Exception e){ |
|
|
|
e.printStackTrace(); |
|
|
|
videoUpd.setVideoStatus(EnumVideoStatus.fail.getCode()); |
|
|
|
videoUpd.setVideoMsg(e.getMessage()); |
|
|
|
videoUpd.setVideoMsg("请求异常"); |
|
|
|
this.saveOrUpdate(videoUpd); |
|
|
|
return new AsyncResult<>(0); |
|
|
|
} |
|
|
|