diff --git a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateConfig.java b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateConfig.java index 2bb7a8abacc26434abf27a1c75a276da1e0c095f..1a00baad0f9eea3b308361f5e398da87b2887628 100644 --- a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateConfig.java +++ b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateConfig.java @@ -32,6 +32,8 @@ public class TemplateConfig implements Serializable { private TemplateAttendance attendance; + private TemplateLocation location; + @SerializedName("vacation_list") private TemplateVacation vacationList; diff --git a/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateLocation.java b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateLocation.java new file mode 100644 index 0000000000000000000000000000000000000000..62ed452ca8d67d08a22297f812ba364f2f2aeb37 --- /dev/null +++ b/weixin-java-cp/src/main/java/me/chanjar/weixin/cp/bean/oa/templatedata/TemplateLocation.java @@ -0,0 +1,18 @@ +package me.chanjar.weixin.cp.bean.oa.templatedata; + +import lombok.Data; + +/** + * The type Template location. + * + * @author RickSun sunalee@dingtalk.com + */ +@Data +public class TemplateLocation { + + /** + * 模板位置的范围 + */ + private Integer distance; + +}