ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、视频、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
>[info] 查询考勤写操作权限 调用本接口,查询企业员工在考勤组内的操作权限。 **官方文档地址:** [链接](https://open.dingtalk.com/document/orgapp-server/attendance-writing-operation-is-brand-new-query) ***** * 代码: ~~~ $opUserId = '1114511560774'; $category = 'GROUP'; $resourceKey = 'DELETE_GROUP'; $entityIds = [1043550172]; $res = GroupManagement::groupWritePermissionsQuery($opUserId, $category, $resourceKey, $entityIds); echo $res; ~~~ * 返回: ``` { "entityPermissionMap": { "1043550172": true } } ```