diff --git a/microservices-modules/microservices-modules-pms/src/main/java/com/microservices/pms/utils/PmsGitLinkRequestUrl.java b/microservices-modules/microservices-modules-pms/src/main/java/com/microservices/pms/utils/PmsGitLinkRequestUrl.java index 656da1a2a..c1ea921fd 100644 --- a/microservices-modules/microservices-modules-pms/src/main/java/com/microservices/pms/utils/PmsGitLinkRequestUrl.java +++ b/microservices-modules/microservices-modules-pms/src/main/java/com/microservices/pms/utils/PmsGitLinkRequestUrl.java @@ -405,7 +405,7 @@ public class PmsGitLinkRequestUrl extends GitLinkRequestUrl { } public static GitLinkRequestUrl CREATE_ACTION_NODE(Long actionNodeId) { - return getGitLinkRequestUrl(String.format("api/action/nodes/%s", actionNodeId)); + return getGitLinkRequestUrl(String.format("/api/action/nodes/%s", actionNodeId)); } public static GitLinkRequestUrl GET_ACTION_NODE_TYPES(String keyword, Integer pageNum, Integer pageSize){ @@ -417,7 +417,7 @@ public class PmsGitLinkRequestUrl extends GitLinkRequestUrl { } public static GitLinkRequestUrl CREATE_ACTION_NODE_TYPE(Long actionNodeTypeId) { - return getGitLinkRequestUrl(String.format("api/action/node_types/%s", actionNodeTypeId)); + return getGitLinkRequestUrl(String.format("/api/action/node_types/%s", actionNodeTypeId)); } public static GitLinkRequestUrl GET_ACTION_TEMPLATES(String keyword, Integer pageNum, Integer pageSize){ @@ -429,11 +429,11 @@ public class PmsGitLinkRequestUrl extends GitLinkRequestUrl { } public static GitLinkRequestUrl CREATE_ACTION_TEMPLATE(Long actionTemplateId) { - return getGitLinkRequestUrl(String.format("api/action/action_templates/%s", actionTemplateId)); + return getGitLinkRequestUrl(String.format("/api/action/action_templates/%s", actionTemplateId)); } public static GitLinkRequestUrl GET_ACTION_RUN_DATA(String owner, String workflows) { - return getGitLinkRequestUrl(String.format("api/pm/action_runs?owner_id=%s&workflows=%s", owner, workflows)); + return getGitLinkRequestUrl(String.format("/api/pm/action_runs?owner_id=%s&workflows=%s", owner, workflows)); } }