ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
~~~[api] get:/v2/admin/attendance/getHomeAttendance *access_open_id#用户id *mt_id#会议id *int:type#【1.饼状图统计 2.折线图统计 3.列表】 int:action_id#签到场次【type=1时使用 不传默认统计第一场次】 <<< success 饼状图统计: { "code": 0, "msg": "ok!", "data": { "sign": [{ "id": 10, "mt_id": "5aec141852dd78829cc3bf4b3f68c3d5", "time_start": 1569283200, "time_end": 1569297600, "time_desc": "2019-09-24 上午", "addr_name": "浙江省杭州市西湖区三墩镇紫金广场", "addr_lat": 30.308057000000002, "addr_lng": 120.095082, "timestamp": 1569316703, "status_del": 0 }, { "id": 11, "mt_id": "5aec141852dd78829cc3bf4b3f68c3d5", "time_start": 1569297600, "time_end": 1569322800, "time_desc": "2019-09-24 下午", "addr_name": "浙江省杭州市西湖区三墩镇耀江文鼎苑", "addr_lat": 30.296258000000002, "addr_lng": 120.09379300000001, "timestamp": 1569316703, "status_del": 0 }], "leave_user": 14, "leave_sign": 0, "leave_wei": 86 } } 折线图统计: { "code": 0, "msg": "ok!", "data": { "sign": [{ "id": 10, "mt_id": "5aec141852dd78829cc3bf4b3f68c3d5", "time_start": 1569283200, "time_end": 1569297600, "time_desc": "2019-09-24 上午", "addr_name": "浙江省杭州市西湖区三墩镇紫金广场", "addr_lat": 30.308057000000002, "addr_lng": 120.095082, "timestamp": 1569316703, "status_del": 0, "leave_user": 14, "leave_sign": 0, "leave_wei": 86 }, { "id": 11, "mt_id": "5aec141852dd78829cc3bf4b3f68c3d5", "time_start": 1569297600, "time_end": 1569322800, "time_desc": "2019-09-24 下午", "addr_name": "浙江省杭州市西湖区三墩镇耀江文鼎苑", "addr_lat": 30.296258000000002, "addr_lng": 120.09379300000001, "timestamp": 1569316703, "status_del": 0, "leave_user": 29, "leave_sign": 0, "leave_wei": 71 }] } } 列表: { "code": 0, "msg": "ok!", "data": { "sign": [{ "id": 10, "mt_id": "5aec141852dd78829cc3bf4b3f68c3d5", "time_start": 1569283200, "time_end": 1569297600, "time_desc": "2019-09-24 上午", "addr_name": "浙江省杭州市西湖区三墩镇紫金广场", "addr_lat": 30.308057000000002, "addr_lng": 120.095082, "timestamp": 1569316703, "status_del": 0, "leave": "test25;", "nosign": "test23wqwqwew;test24;test222;test222;test222;测试用户;" }, { "id": 11, "mt_id": "5aec141852dd78829cc3bf4b3f68c3d5", "time_start": 1569297600, "time_end": 1569322800, "time_desc": "2019-09-24 下午", "addr_name": "浙江省杭州市西湖区三墩镇耀江文鼎苑", "addr_lat": 30.296258000000002, "addr_lng": 120.09379300000001, "timestamp": 1569316703, "status_del": 0, "leave": "测试21;test25;", "nosign": "test23wqwqwew;test24;test222;test222;test222;测试用户;" }] } } <<< error ~~~ | 参数 | 说明 | | --- | --- | |leave_user | 【饼状图、折线图】请假人数百分比 | |leave_sign | 【饼状图、折线图】签到人数百分比 | |leave_wei | 【饼状图、折线图】未签到人数百分比 | |leave| 【列表】请假人 | |nosign| 【列表】未签到人 |