Skip to content

Commit

Permalink
OMSEC-113845 【后端】【文本】(Minimax)文本检测失败,sdk需要加上返回 status 字段
Browse files Browse the repository at this point in the history
(cherry picked from commit 4c169df26013f07bc7fad9fcf8124165338291f7)
  • Loading branch information
祝力炀 authored and zhaojipu committed Aug 1, 2024
1 parent 229eb4c commit 449b589
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ public static class Antispam {
private String remark;
private String filteredContent;
private List<String> mergeHints;
private Integer status;

public String getTaskId() {
return taskId;
Expand Down Expand Up @@ -186,6 +187,14 @@ public void setSuggestionLevel(Integer suggestionLevel) {
this.suggestionLevel = suggestionLevel;
}

public Integer getStatus() {
return status;
}

public void setStatus(Integer status) {
this.status = status;
}

public Integer getCustomAction() {
return customAction;
}
Expand Down Expand Up @@ -308,6 +317,7 @@ public String toString() {
+ ", thirdLabel=" + thirdLabel
+ ", suggestion=" + suggestion
+ ", suggestionLevel=" + suggestionLevel
+ ", status=" + status
+ ", customAction=" + customAction
+ ", resultType=" + resultType
+ ", censorType=" + censorType
Expand Down

0 comments on commit 449b589

Please sign in to comment.