POST提交返回数据不对求解决方法
下面的POST提交返回的数据应该是打卡时间不对 不能打卡
上班
POST http://139.196.208.225:41180/web/rest/attendance-record/add HTTP/1.1
Content-Type: application/json
Accept-Encoding: gzip,deflate,sdch
Content-Length: 615
Host: 139.196.208.225:41180
Connection: Keep-Alive
Expect: 100-continue
Cookie: JSESSIONID=fq4fksnyk0bu1ssn1qjw24lj9
Cookie2: $Version=1
{"data":[{"recordId":0,"employee":{"id":"黄艳平","pid":"407","displayName":"黄艳平","type":"Person","phone":"15213338789","dataSource":"是"},"attendanceDate":1481558400248,"planCheckInTime":1481589000249,"planCheckOutTime":1481621400249,"checkType":0,"checkInTime":1481639714249,"checkOutTime":0,"checkInLatitude":"31.023266","checkInLongitude":"109.478244","forceCheckIn":0,"forceCheckOut":0,"locateType":2,"exemptType":0,"schedulingType":0,"lastModifyPerson":{"id":"黄艳平","pid":"407","displayName":"黄艳平","type":"Person","phone":"15213338789","dataSource":"是"},"lastModifyTime":1481639714249}]}
下班
POST http://139.196.208.225:41180/web/rest/attendance-record/add HTTP/1.1
Content-Type: application/json
Accept-Encoding: gzip,deflate,sdch
Content-Length: 617
Host: 139.196.208.225:41180
Connection: Keep-Alive
Expect: 100-continue
Cookie: JSESSIONID=fq4fksnyk0bu1ssn1qjw24lj9
Cookie2: $Version=1
{"data":[{"recordId":0,"employee":{"id":"黄艳平","pid":"407","displayName":"黄艳平","type":"Person","phone":"15213338789","dataSource":"是"},"attendanceDate":1481558400112,"planCheckInTime":1481589000112,"planCheckOutTime":1481621400112,"checkType":1,"checkInTime":0,"checkOutTime":1481639792113,"checkOutLatitude":"31.023298","checkOutLongitude":"109.478345","forceCheckIn":0,"forceCheckOut":0,"locateType":2,"exemptType":0,"schedulingType":0,"lastModifyPerson":{"id":"黄艳平","pid":"407","displayName":"黄艳平","type":"Person","phone":"15213338789","dataSource":"是"},"lastModifyTime":1481639792113}]}
源码.rar
(202.71 KB, 下载次数: 7)
|