We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
敏感词接口
WxCpExternalContactServiceImpl::updateInterceptRule() 方法中 WxCpInterceptRule入参结构不对 public class WxCpInterceptRule implements Serializable, ToJson { private static final long serialVersionUID = 7161086545769110431L; @SerializedName("rule_name") private String ruleName; @SerializedName("rule_id") private String ruleId; @SerializedName("word_list") private List wordList; @SerializedName("extra_rule") private ExtraRule extraRule; @SerializedName("intercept_type") private int interceptType; @SerializedName("applicable_range") private ApplicableRange applicableRange; }
实际企业微信入参请求 { "rule_id":"xxxx", "rule_name":"rulename", "word_list":[ "敏感词1","敏感词2" ], "extra_rule":{ "semantics_list":[1,2,3], }, "intercept_type":1, "add_applicable_range":{ "user_list":["zhangshan"], "department_list":[2,3] }, "remove_applicable_range":{ "user_list":["zhangshan"], "department_list":[2,3] } }
The text was updated successfully, but these errors were encountered:
应该是官方文档做了调整,欢迎楼主直接提供优化代码
Sorry, something went wrong.
文档地址:https://developer.work.weixin.qq.com/document/path/95097#%E4%BF%AE%E6%94%B9%E6%95%8F%E6%84%9F%E8%AF%8D%E8%A7%84%E5%88%99
🎨 #2993 【企业微信】敏感词更新接口参数根据最新官方文档进行调整
24c18b8
No branches or pull requests
简要描述
敏感词接口
模块版本情况
详细描述
WxCpExternalContactServiceImpl::updateInterceptRule() 方法中 WxCpInterceptRule入参结构不对
public class WxCpInterceptRule implements Serializable, ToJson {
private static final long serialVersionUID = 7161086545769110431L;
@SerializedName("rule_name")
private String ruleName;
@SerializedName("rule_id")
private String ruleId;
@SerializedName("word_list")
private List wordList;
@SerializedName("extra_rule")
private ExtraRule extraRule;
@SerializedName("intercept_type")
private int interceptType;
@SerializedName("applicable_range")
private ApplicableRange applicableRange;
}
实际企业微信入参请求
{
"rule_id":"xxxx",
"rule_name":"rulename",
"word_list":[
"敏感词1","敏感词2"
],
"extra_rule":{
"semantics_list":[1,2,3],
},
"intercept_type":1,
"add_applicable_range":{
"user_list":["zhangshan"],
"department_list":[2,3]
},
"remove_applicable_range":{
"user_list":["zhangshan"],
"department_list":[2,3]
}
}
The text was updated successfully, but these errors were encountered: