Commit f676db99 authored by 赵啸非's avatar 赵啸非

修改部分pom

parent 5c55dde4
...@@ -144,6 +144,7 @@ public class FlowDefinitionApiController { ...@@ -144,6 +144,7 @@ public class FlowDefinitionApiController {
rsp.setMsg(ApiRespCodeEnum.SUCCESS.getLabel()); rsp.setMsg(ApiRespCodeEnum.SUCCESS.getLabel());
rsp.setCode(ApiRespCodeEnum.SUCCESS.getValue()); rsp.setCode(ApiRespCodeEnum.SUCCESS.getValue());
try { try {
if(ObjectUtils.isEmpty(req.getDeployId())) throw new AppException("deployId不能为空");
ApiRespPdu<String> resp = apiFlowDefinitionFeign.readImage(req.getDeployId()); ApiRespPdu<String> resp = apiFlowDefinitionFeign.readImage(req.getDeployId());
if (YesNoEnum.NO.getValue() == resp.getCode()) { if (YesNoEnum.NO.getValue() == resp.getCode()) {
log.error("获取流程图异常:" + resp.getMsg()); log.error("获取流程图异常:" + resp.getMsg());
...@@ -151,7 +152,7 @@ public class FlowDefinitionApiController { ...@@ -151,7 +152,7 @@ public class FlowDefinitionApiController {
} }
rsp.setData(resp.getData()); rsp.setData(resp.getData());
} catch (Exception e) { } catch (Exception e) {
log.error("获取流程图异常", e); log.error("获取流程图异常", e.getMessage());
rsp.setCode(ApiRespCodeEnum.FAILED.getValue()); rsp.setCode(ApiRespCodeEnum.FAILED.getValue());
rsp.setMsg(e.getMessage()); rsp.setMsg(e.getMessage());
return rsp; return rsp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment