小程序
小游戏
企业微信
微信支付
扫描小程序码分享
查询打卡记录不能只查询1小时内的吗?我设置start_time和end_time的值间隔是1小时,但是查询出来的结果是当天全天的。
而且start_time设置成20点以后,返回的数据居然是后一天(第二天)的数据。
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
您好,可以设置一小时内的打卡,可以发下请求的json看看
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
# 请求的数据
{
"opencheckindatatype": 1,
"starttime": 1579445100,
"endtime": 1579446000,
"useridlist": ["wanghaofan"]
}
# 返回的数据
{"errcode":0,"errmsg":"ok","checkindata":[{"userid":"wanghaofan","groupname":"日常出勤","checkin_type":"上班打卡","exception_type":"未打卡","checkin_time":1579483800,"location_title":"","location_detail":"","wifiname":"","notes":"","wifimac":"","mediaids":[],"lat":0,"lng":0},{"userid":"wanghaofan","groupname":"日常出勤","checkin_type":"下班打卡","exception_type":"未打卡","checkin_time":1579516200,"location_title":"","location_detail":"","wifiname":"","notes":"","wifimac":"","mediaids":[],"lat":0,"lng":0}]}
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
您好,可以设置一小时内的打卡,可以发下请求的json看看
# 请求的数据
{
"opencheckindatatype": 1,
"starttime": 1579445100,
"endtime": 1579446000,
"useridlist": ["wanghaofan"]
}
# 返回的数据
{"errcode":0,"errmsg":"ok","checkindata":[{"userid":"wanghaofan","groupname":"日常出勤","checkin_type":"上班打卡","exception_type":"未打卡","checkin_time":1579483800,"location_title":"","location_detail":"","wifiname":"","notes":"","wifimac":"","mediaids":[],"lat":0,"lng":0},{"userid":"wanghaofan","groupname":"日常出勤","checkin_type":"下班打卡","exception_type":"未打卡","checkin_time":1579516200,"location_title":"","location_detail":"","wifiname":"","notes":"","wifimac":"","mediaids":[],"lat":0,"lng":0}]}