
###登录
POST {{baseUrl}}/login/login
Content-Type: application/json

{
  "loginName": "admin",
  "password": "xhxADMIN8@a",
  "securityCode": "admin"
}

> {%
client.global.set("SmsSet_id", JSON.parse(response.body).data.id);
client.global.set("authToken", JSON.parse(response.body).data.token);
%}


###登录
POST http://10.233.82.175:11078/zwfw/login/login
Content-Type: application/json

{
  "loginName": "xinhx",
  "password": "xhxX123!@#",
  "securityCode": "admin"
}




###修改用户密码
POST {{baseUrl}}/user/change/password
Authorization: {{authToken}}
Content-Type: application/x-www-form-urlencoded

oldPwd=aA123!@#&newPwd=aA123!@#.


###首页
POST {{baseUrl}}/login/index
Authorization: {{authToken}}
Content-Type: application/json

{}


###海康考勤打卡记录计算
POST {{baseUrl}}/attendance/record/hik/addAttendanceRecord
Content-Type: application/json

{
  "attendanceDateStart": "2025-01-01",
  "attendanceDateEnd": "2025-01-31"
}

###海康考勤打卡记录计算1
POST {{baseUrl}}/attendance/record/hik/addAttendanceRecord
Content-Type: application/json

{
  "attendanceDateStart": "2025-01-01",
  "attendanceDateEnd": "2025-04-03"
}



###考勤打卡记录虚增记录
POST {{baseUrl}}/attendance/record/hik/addAttendanceRecordCustom
Content-Type: application/json

{
  "attendanceDateStart": "2024-05-22",
  "attendanceDateEnd": "2024-05-28"
}


###海康考勤打卡记录原始记录同步
POST {{baseUrl}}/attendance/record/hik/addAttendanceHikRecordCustom
Content-Type: application/json

{
  "staffId": 501,
  "attendanceDateStart": "2025-03-01",
  "attendanceDateEnd": "2025-03-31"
}


###考勤汇总计算
POST {{baseUrl}}/attendance/stat/summary
Content-Type: application/json

{
  "summaryTimeStart": "2025-03-01",
  "summaryTimeEnd": "2025-03-24"
}



###绩效汇总计算
POST {{baseUrl}}/staff/perform/summary/summary
Content-Type: application/json

{
  "checkTimeStart": "2024-02-01",
  "checkTimeEnd": "2024-03-20",
  "checkType": 4
}

###考勤打卡记录异常信息列表
POST {{baseUrl}}/attendance/record/error/doReprocess
Content-Type: application/json

{
  "errorDateTimeStart": "2024-02-01",
  "errorDateTimeEnd": "2024-03-20"
}

###效能监察同步
POST {{baseUrl}}/perform/effect/record/sync
Content-Type: application/json

{
  "happenTimeStart": "2024-03-08",
  "happenTimeEnd": "2024-03-08"
}


###id生成
GET {{baseUrl}}/test/idGens
Accept: application/json



###double
GET {{baseUrl}}/test/double?processInstanceId=test1
Accept: application/json




###钉ding
POST {{baseUrl}}/attendance/leave/record/syncLeaveRecord
Authorization: {{authToken}}
Content-Type: application/json

{
  "staffId": 349,
  "startTimeStart": "2025-02-01",
  "endTimeEnd": "2025-03-31"
}


###ai效能保存
POST {{baseUrl}}/api/v1/web/effect/save
Content-Type: application/json

{
  "windowNum": "123123"
}

###设备直连更新人员
POST {{baseUrl}}/test/updatePersonsByDevices
Content-Type: application/json

{}

###设备直连更新事件
POST {{baseUrl}}/test/searchEventsByDevices
Content-Type: application/json

{
  "createTimeStart": "2024-03-27 00:00:00",
  "createTimeEnd": "2024-03-27 23:59:59",
  "deviceId": 4
}


###controoler 测试
POST {{baseUrl}}/resource/refreshUrl?packageName=com.mortals.xhx.module
Accept: application/json


###测试api
POST {{baseUrl}}/api/v1/perform/error/message/summary
Content-Type: application/json

{"staffId":193,"errorTimeStart":"2024-05-01","errorTimeEnd":"2024-05-31"}

###测试api
POST {{baseUrl}}/api/v1/inspect/save
Authorization: {{authToken}}
Content-Type: application/json

{"alarmTime":1714285745000,"attendanceGroupName":"","duration":3000,"fileNames":"image.jpg","filePaths":"file/fileupload/1715236144379.jpg","happenTime":1715149753000,"irregularType":3,"performType":"effect","ruleId":25,"staffId":774,"windowNum":""}



###考勤汇总
POST {{baseUrl}}/attendance/stat/listExt
Content-Type: application/json

{
  "summaryTimeStart": "2024-08-01",
  "summaryTimeEnd": "2024-08-30",
  "summaryTypeList": ["正常","假","迟到","早退","缺卡"]

}