TASK:模块化;

This commit is contained in:
shahaibo
2025-04-22 16:11:00 +08:00
parent 604c57c208
commit 74ad20646d

View File

@@ -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");
}
}