dingtalk

package
v0.5.17 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAllDepts added in v0.2.0

func GetAllDepts() (ret []map[string]interface{}, err error)

官方文档地址: https://open.dingtalk.com/document/orgapp-server/obtain-the-department-list GetAllDepts 获取所有部门

func GetAllUsers added in v0.2.0

func GetAllUsers() (ret []map[string]interface{}, err error)

官方文档地址: https://open.dingtalk.com/document/orgapp-server/queries-the-complete-information-of-a-department-user GetAllUsers 获取所有员工信息

func GetLeaveUserIds added in v0.2.0

func GetLeaveUserIds() ([]string, error)

官方文档:https://open.dingtalk.com/document/orgapp-server/intelligent-personnel-query-company-turnover-list GetLeaveUserIds 获取离职人员ID列表

func GetLeaveUserIdsDateRange added in v0.5.11

func GetLeaveUserIdsDateRange(pushDays uint) ([]string, error)

官方文档:https://open.dingtalk.com/document/orgapp/query-the-details-of-employees-who-have-left-office GetLeaveUserIdsByDateRange 新接口根据时间范围获取离职人员ID列表 GetHrmempLeaveRecordsKey = "/v1.0/contact/empLeaveRecords"

func InitDingTalkClient

func InitDingTalkClient() *dingtalk.DingTalk

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL