|
@@ -61,7 +61,7 @@ public class VideoCallbackController extends BaseController { |
|
|
logger.debug("[" + getIpAddr() + "] VideoCallbackController::photoSpeak"); |
|
|
logger.debug("[" + getIpAddr() + "] VideoCallbackController::photoSpeak"); |
|
|
logger.info("照片生成视频结果通知{}"+JSONObject.toJSONString(paranMap)); |
|
|
logger.info("照片生成视频结果通知{}"+JSONObject.toJSONString(paranMap)); |
|
|
Long task_id = (Long) paranMap.get("task_id");//任务ID |
|
|
Long task_id = (Long) paranMap.get("task_id");//任务ID |
|
|
Integer code = (Integer) paranMap.get("code");//code |
|
|
|
|
|
|
|
|
String code = (String) paranMap.get("code");//code |
|
|
String msg = (String) paranMap.get("msg"); |
|
|
String msg = (String) paranMap.get("msg"); |
|
|
String data = (String)paranMap.get("data"); |
|
|
String data = (String)paranMap.get("data"); |
|
|
|
|
|
|
|
@@ -79,7 +79,7 @@ public class VideoCallbackController extends BaseController { |
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"未找到任务数据"); |
|
|
return new ResultData(ErrorCode.SYS_PARAMETER_NOT_NULL.getCode(),"未找到任务数据"); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if (code != 4000){ |
|
|
|
|
|
|
|
|
if (Integer.parseInt(code) != 4000){ |
|
|
String returnMsg; |
|
|
String returnMsg; |
|
|
if (sr){ |
|
|
if (sr){ |
|
|
photoSpeakVideo.setVideoHyStatus(EnumVideoStatus.fail.getCode()); |
|
|
photoSpeakVideo.setVideoHyStatus(EnumVideoStatus.fail.getCode()); |
|
|