mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-04-05 17:38:05 +08:00
🎨 #2993 【企业微信】敏感词更新接口参数根据最新官方文档进行调整
This commit is contained in:
parent
83e6dbfcba
commit
24c18b8bbc
@ -1078,6 +1078,7 @@ public interface WxCpExternalContactService {
|
||||
/**
|
||||
* <pre>
|
||||
* 修改敏感词规则
|
||||
* <a href="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">文档地址</a>
|
||||
* 企业和第三方应用可以通过此接口修改敏感词规则
|
||||
* 请求方式:POST(HTTPS)
|
||||
* 请求地址:https://qyapi.weixin.qq.com/cgi-bin/externalcontact/update_intercept_rule?access_token=ACCESS_TOKEN
|
||||
|
@ -33,8 +33,10 @@ public class WxCpInterceptRule implements Serializable, ToJson {
|
||||
private ExtraRule extraRule;
|
||||
@SerializedName("intercept_type")
|
||||
private int interceptType;
|
||||
@SerializedName("applicable_range")
|
||||
private ApplicableRange applicableRange;
|
||||
@SerializedName("add_applicable_range")
|
||||
private ApplicableRange addApplicableRange;
|
||||
@SerializedName("remove_applicable_range")
|
||||
private ApplicableRange removeApplicableRange;
|
||||
|
||||
@Data
|
||||
public static class ExtraRule implements Serializable {
|
||||
|
Loading…
Reference in New Issue
Block a user