QywxAttendanceAction (企业微信打卡数据管理)这个接口要怎么用
name:listDingdingAttendance
path:jaxrs/qywx/attendance/list/{id}/next/{count}
type:PUT
description:查询企业微信打卡结果
id:最后一条数据ID
count:每页显示的条目数量
请教下最后一条记录的id 要怎么查
如果是第一条就(0),其他的就是你要自行获取到开始条的id了 论坛管理员 发表于 2022-8-24 09:56
如果是第一条就(0),其他的就是你要自行获取到开始条的id了
传入0就是这样
{
"readyState": 4,
"responseText": "{\n\"type\": \"error\",\n\"message\": \"can not find entity id: 0, class: com.x.attendance.entity.AttendanceQywxDetail.\",\n\"date\": \"2022-08-24 09:57:44\",\n\"spent\": 8,\n\"size\": -1,\n\"count\": 0,\n\"position\": 0\n}",
"responseJSON": {
"type": "error",
"message": "can not find entity id: 0, class: com.x.attendance.entity.AttendanceQywxDetail.",
"date": "2022-08-24 09:57:44",
"spent": 8,
"size": -1,
"count": 0,
"position": 0
},
"status": 500,
"statusText": "Internal Server Error"
} 论坛管理员 发表于 2022-8-24 09:56
如果是第一条就(0),其他的就是你要自行获取到开始条的id了
懂了,不能是0必须是 (0) 悲剧了,这个接口只能管理员使用 是的,如果您想普通员工调用,可以在服务管理--接口里调用这个服务,然后在普通员工调用这个服务管理的接口就可以了 论坛管理员 发表于 2022-8-24 16:20
是的,如果您想普通员工调用,可以在服务管理--接口里调用这个服务,然后在普通员工调用这个服务管理的接 ...
感谢感谢,这个牛 :)
页:
[1]