From 8c97e600a18885fe9b06f5bd4cb904b5c6782d18 Mon Sep 17 00:00:00 2001 From: xxq250 Date: Fri, 24 Jan 2025 08:25:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=B5=81=E6=B0=B4=E7=BA=BF?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E8=AF=A6=E6=83=85=E6=9F=A5=E8=AF=A2,?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=90=8D=E6=8B=BC=E6=8E=A5url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/microservices/pms/utils/PmsGitLinkRequestUrl.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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)); } }