1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
package com.yanzuoguang.wxxcx.security;
/**
* detail包含多个策略类型的检测结果,策略类型的检查结果可能存在的属性
*
* @author 李贤军
*/
public class WxXcxSecurityMsgSecCheckDetailRes {
/**
* 策略类型
*/
private String strategy;
/**
* 错误码,仅当该值为0时,该项结果有效
*/
private Integer errcode;
/**
* 建议,有risky、pass、review三种值
*/
private String suggest;
/**
* 命中标签枚举值,100 正常;10001 广告;20001 时政;20002 色情;20003 辱骂;20006 违法犯罪;20008 欺诈;20012 低俗;20013 版权;21000 其他
*/
private int label;
/**
* 0-100,代表置信度,越高代表越有可能属于当前返回的标签(label)
*/
private int prob;
/**
* 命中的自定义关键词
*/
private String keyword;
public String getStrategy() {
return strategy;
}
public void setStrategy(String strategy) {
this.strategy = strategy;
}
public Integer getErrcode() {
return errcode;
}
public void setErrcode(Integer errcode) {
this.errcode = errcode;
}
public String getSuggest() {
return suggest;
}
public void setSuggest(String suggest) {
this.suggest = suggest;
}
public int getLabel() {
return label;
}
public void setLabel(int label) {
this.label = label;
}
public int getProb() {
return prob;
}
public void setProb(int prob) {
this.prob = prob;
}
public String getKeyword() {
return keyword;
}
public void setKeyword(String keyword) {
this.keyword = keyword;
}
}