Browse Source

//bug

private_deployment
xhxu 1 year ago
parent
commit
4a4eaddca2
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      suimangService/src/main/java/com/iformall/service/sm/impl/UserMouldVideoServiceImpl.java

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

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


Loading…
Cancel
Save