ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
>[info] 获取用户考勤数据 调用本接口,获取指定用户当天的考勤数据。 调用本接口,可获取用户的考勤数据,包括打卡流水记录、打卡结果和审批列表等。 **官方文档地址:** [链接](https://open.dingtalk.com/document/orgapp-server/obtain-the-attendance-update-data) ***** * 代码: ~~~ $userid = 'manager3451'; $work_date ='2023-01-09 09:00:00'; $res = Statistic::getUpdateData($userid, $work_date); echo $res; ~~~ * 返回: ``` { "errcode": 0, "errmsg": "ok", "result": { "approve_list": [], "attendance_result_list": [], "check_record_list": [], "corpId": "dingc5f4301f00bdafc3acaaa37764f94726", "userid": "manager3451", "work_date": "2023-01-09 09:00:00" }, "success": true, "request_id": "16koyd6zkkao9" } ```