diff --git a/renren-admin/src/main/java/io/renren/modules/resourceMountApply/listener/ResourceOwnerListener.java b/renren-admin/src/main/java/io/renren/modules/resourceMountApply/listener/ResourceOwnerListener.java index b5088653..ac3caccd 100644 --- a/renren-admin/src/main/java/io/renren/modules/resourceMountApply/listener/ResourceOwnerListener.java +++ b/renren-admin/src/main/java/io/renren/modules/resourceMountApply/listener/ResourceOwnerListener.java @@ -53,6 +53,7 @@ public class ResourceOwnerListener implements TaskListener, ExecutionListener, A @Override public void notify(DelegateExecution execution) throws Exception { logger.error("----------------------进入审批通过节点---------------------------"); + logger.error("事件类型:" + execution.getEventName()); final String eventName = execution.getEventName(); switch (eventName) { @@ -120,6 +121,8 @@ public class ResourceOwnerListener implements TaskListener, ExecutionListener, A if (re != null) { re.setDelFlag(0); resourceService.update(re); + logger.error("审批通过!资源id:" + re.getId()); + apiGatewayService.registerApi2Gateway(String.valueOf(re.getId())); // 发布到应用网关 } }