🎨 #2993 【企业微信】敏感词更新接口参数根据最新官方文档进行调整

This commit is contained in:
Binary Wang 2023-05-04 19:03:40 +08:00
parent 83e6dbfcba
commit 24c18b8bbc
2 changed files with 5 additions and 2 deletions

View File

@ -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

View File

@ -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 {