28,390
社区成员
发帖
与我相关
我的任务
分享
POST "打卡地址" HTTP/1.1
Content-Type: multipart/form-data; boundary=b10fc9c9-0f28-4cfe-b8e2-96bb00bf2edc
Content-Length: 248
Host: "服务器名"
Connection: Keep-Alive
Accept-Encoding: gzip
User-Agent: okhttp/3.3.0
--b10fc9c9-0f28-4cfe-b8e2-96bb00bf2edc
Content-Disposition: form-data; name="address"
Content-Transfer-Encoding: binary
Content-Type: text/plain; charset=utf-8
Content-Length: 18
打卡地址
--b10fc9c9-0f28-4cfe-b8e2-96bb00bf2edc--
{
"status": 0,
"msg": "打卡记录成功",
"data": null
}
{
"status": 0,
"msg": "查询打卡成功",
"data": {
"upTime": {
"id": 2222,
"staffId": 打卡人id,
"punchDate": "2017-04-10",
"punchTime": "08:58:53",
"address": "打卡地址",
"content": null
},
"dateTime": "12:26:09",
"nowDate": "2017-04-10 21:25:07",
"downTime": {
"id": 2223,
"staffId": 打卡人id,
"punchDate": "2017-04-10",
"punchTime": "21:25:02",
"address": "打卡地址",
"content": null
}
}
}
"status": 0,
"msg": "查询考勤列表成功",
"data": {
"ptList": [{
"id": "2222",
"content": null,
"upAddress": "打卡地址",
"upTime": "08:58:53",
"downAddress": "打卡地址",
"downTime": "20:31:01",
"punchDate": "2017-04-10",
"workType": "2"
POST "打卡地址" HTTP/1.1
Content-Type: multipart/form-data; boundary=b10fc9c9-0f28-4cfe-b8e2-96bb00bf2edc
Content-Length: 248
Host: "服务器名"
Connection: Keep-Alive
Accept-Encoding: gzip
User-Agent: okhttp/3.3.0
--b10fc9c9-0f28-4cfe-b8e2-96bb00bf2edc
Content-Disposition: form-data; name="address"
Content-Transfer-Encoding: binary
Content-Type: text/plain; charset=utf-8
Content-Length: 18
打卡地址
--b10fc9c9-0f28-4cfe-b8e2-96bb00bf2edc
Content-Disposition: form-data; name="id"
Content-Transfer-Encoding: binary
Content-Type: text/plain; charset=utf-8
Content-Length: 18
2222
--b10fc9c9-0f28-4cfe-b8e2-96bb00bf2edc
Content-Disposition: form-data; name="staffid"
Content-Transfer-Encoding: binary
Content-Type: text/plain; charset=utf-8
Content-Length: 18
打卡人id
--b10fc9c9-0f28-4cfe-b8e2-96bb00bf2edc
Content-Disposition: form-data; name="punchDate"
Content-Transfer-Encoding: binary
Content-Type: text/plain; charset=utf-8
Content-Length: 18
2017-04-11
--b10fc9c9-0f28-4cfe-b8e2-96bb00bf2edc
Content-Disposition: form-data; name="punchTime"
Content-Transfer-Encoding: binary
Content-Type: text/plain; charset=utf-8
Content-Length: 18
08:08:08
--b10fc9c9-0f28-4cfe-b8e2-96bb00bf2edc--