diff --git a/src/backend/job-file-gateway/api-job-file-gateway/src/main/java/com/tencent/bk/job/file_gateway/model/resp/inner/BatchTaskStatusDTO.java b/src/backend/job-file-gateway/api-job-file-gateway/src/main/java/com/tencent/bk/job/file_gateway/model/resp/inner/BatchTaskStatusDTO.java index 4710cc94af..85619f0202 100644 --- a/src/backend/job-file-gateway/api-job-file-gateway/src/main/java/com/tencent/bk/job/file_gateway/model/resp/inner/BatchTaskStatusDTO.java +++ b/src/backend/job-file-gateway/api-job-file-gateway/src/main/java/com/tencent/bk/job/file_gateway/model/resp/inner/BatchTaskStatusDTO.java @@ -24,6 +24,7 @@ package com.tencent.bk.job.file_gateway.model.resp.inner; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.tencent.bk.job.common.util.json.JsonUtils; import com.tencent.bk.job.file_gateway.consts.TaskStatusEnum; import lombok.AllArgsConstructor; @@ -52,6 +53,7 @@ public boolean isDone() { * * @return 描述信息 */ + @JsonIgnore public String getSimpleDesc() { Map map = new HashMap<>(); map.put("batchTaskId", batchTaskId); diff --git a/src/backend/job-file-gateway/api-job-file-gateway/src/main/java/com/tencent/bk/job/file_gateway/model/resp/inner/FileSourceTaskStatusDTO.java b/src/backend/job-file-gateway/api-job-file-gateway/src/main/java/com/tencent/bk/job/file_gateway/model/resp/inner/FileSourceTaskStatusDTO.java index 72e1b24098..3b76bc1837 100644 --- a/src/backend/job-file-gateway/api-job-file-gateway/src/main/java/com/tencent/bk/job/file_gateway/model/resp/inner/FileSourceTaskStatusDTO.java +++ b/src/backend/job-file-gateway/api-job-file-gateway/src/main/java/com/tencent/bk/job/file_gateway/model/resp/inner/FileSourceTaskStatusDTO.java @@ -24,6 +24,7 @@ package com.tencent.bk.job.file_gateway.model.resp.inner; +import com.fasterxml.jackson.annotation.JsonIgnore; import com.tencent.bk.job.common.util.json.JsonUtils; import com.tencent.bk.job.file_gateway.consts.TaskStatusEnum; import com.tencent.bk.job.logsvr.model.service.ServiceHostLogDTO; @@ -61,6 +62,7 @@ public boolean isDone() { * * @return 描述信息 */ + @JsonIgnore public String getSimpleDesc() { Map map = new HashMap<>(); map.put("taskId", taskId);