TASK:模块化;
This commit is contained in:
@@ -4371,11 +4371,15 @@ public class PythonService {
|
||||
log.error("PythonService##poseTransferBatch异常###{}", ExceptionUtil.getThrowableList(ioException));
|
||||
throw new BusinessException("poseTransferBatch.interface.exception");
|
||||
}
|
||||
if (response.isSuccessful()) {
|
||||
|
||||
if (response.isSuccessful() && response.body() != null) {
|
||||
String responseBody = response.body().toString();
|
||||
log.info("PythonService##poseTransferBatch返回内容###{}", responseBody);
|
||||
|
||||
return Boolean.TRUE;
|
||||
}
|
||||
log.error("PythonService##poseTransferBatch异常response###{}", response);
|
||||
//生成失败
|
||||
|
||||
log.error("PythonService##poseTransferBatch接口调用失败###{}", response);
|
||||
throw new BusinessException("poseTransferBatch.interface.exception");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user