增加流水线执行详情查询,文件名拼接url

This commit is contained in:
xxq250 2025-01-24 08:25:40 +08:00
parent 4ae505ae40
commit 8c97e600a1
1 changed files with 4 additions and 4 deletions

View File

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