diff --git a/docs/oa.md b/docs/oa.md index 7fd1965..c3ab1b0 100644 --- a/docs/oa.md +++ b/docs/oa.md @@ -88,6 +88,7 @@ Name|JSON|Type|Doc Name|JSON|Type|Doc :---|:---|:---|:-- `Key`|`key`|`string`| 选项key,可通过“获取审批模板详情”接口获得 +`Value`|`value`|`[]OAText`| 选项值,若配置了多语言则会包含中英文的选项值 ### `OAContentMember` 所选成员内容,即申请人在此控件选择的成员,多选模式下可以有多个 @@ -207,7 +208,8 @@ Name|JSON|Type|Doc `Selector`|`selector`|`OATemplateControlConfigSelector`| Selector控件(单选/多选控件) `Contact`|`contact`|`OATemplateControlConfigContact`| Contact控件(成员/部门控件) `Table`|`table`|`OATemplateControlConfigTable`| Table(明细控件) -`Attendance`|`attendance`|`OATemplateControlConfigAttendance`| Attendance控件(假勤控件) +`Attendance`|`attendance`|`OATemplateControlConfigAttendance`| Attendance控件(假勤控件)【出差】【加班】【外出】模板特有的控件 +`Vacation`|`vacation_list`|`OATemplateControlConfigVacation`| Vacation控件(假勤控件)【请假】模板特有控件, 请假类型强关联审批应用中的假期管理。 ### `OATemplateControlConfigDate` 类型标志,日期/日期+时间控件的config中会包含此参数 diff --git a/errcodes/mod.go b/errcodes/mod.go index 46bafe9..15b375f 100644 --- a/errcodes/mod.go +++ b/errcodes/mod.go @@ -5,7 +5,7 @@ package errcodes // ErrCode 错误码类型 // // 全局错误码文档: https://developer.work.weixin.qq.com/document/path/90313 -// 文档爬取时间: 2024-01-30 16:57:13 +0800 +// 文档爬取时间: 2024-02-26 16:40:36 +0800 // // NOTE: 关于错误码的名字为何如此无聊: // diff --git a/oa.md.go b/oa.md.go index d648b01..f895c61 100644 --- a/oa.md.go +++ b/oa.md.go @@ -114,6 +114,8 @@ type OAContentSelector struct { type OAContentSelectorOption struct { // Key 选项key,可通过“获取审批模板详情”接口获得 Key string `json:"key"` + // Value 选项值,若配置了多语言则会包含中英文的选项值 + Value []OAText `json:"value"` } // OAContentMember 所选成员内容,即申请人在此控件选择的成员,多选模式下可以有多个 @@ -254,8 +256,10 @@ type OATemplateControlConfig struct { Contact OATemplateControlConfigContact `json:"contact"` // Table Table(明细控件) Table OATemplateControlConfigTable `json:"table"` - // Attendance Attendance控件(假勤控件) + // Attendance Attendance控件(假勤控件)【出差】【加班】【外出】模板特有的控件 Attendance OATemplateControlConfigAttendance `json:"attendance"` + // Vacation Vacation控件(假勤控件)【请假】模板特有控件, 请假类型强关联审批应用中的假期管理。 + Vacation OATemplateControlConfigVacation `json:"vacation_list"` } // OATemplateControlConfigDate 类型标志,日期/日期+时间控件的config中会包含此参数