Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 844 Bytes

File metadata and controls

23 lines (16 loc) · 844 Bytes

OA

官方文档:https://developer.work.weixin.qq.com/document/path/93384

// 获取企业所有打卡规则,返回数组
$result = $app->oa->corpCheckinRules();

// 获取员工打卡规则,返回数组
$result = $app->oa->checkinRules(int $datetime, array $useridlist);

// 获取打卡记录数据,type 默认3,返回数组
$result = $app->oa->checkinData(int $startTime, int $endTime, array $userList = [], $type = 3);

// 获取打卡日报数据,返回数组
$result = $app->oa->checkinDayData(int $startTime, int $endTime, array $userids);

// 获取打卡月报数据,返回数组
$result = $app->oa->checkinMonthData(int $startTime, int $endTime, array $userids);

// 获取公费电话拨打记录,返回数组
$result = $app->oa->dialRecords(int $startTime, int $endTime, int $offset = 0, $limit = 100);