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

{
  "loginName":"admin",
  "password":"admin",
  "securityCode":"admin"
}

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



###修改用户密码
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
Authorization: {{authToken}}
Content-Type: application/json

{
  "attendanceDateStart":"2023-12-01",
  "attendanceDateEnd":"2024-01-25"
}

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

{
  "attendanceDateStart":"2023-12-04",
  "attendanceDateEnd":"2023-12-08",
  "staffId": 322
}



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

{
  "attendanceDateStart":"2023-12-01",
  "attendanceDateEnd":"2024-01-25"
}


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

{
  "attendanceDateStart":"2023-12-01",
  "attendanceDateEnd":"2024-01-25"
}


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

{"summaryTimeStart":"2023-12-01","summaryTimeEnd":"2023-12-31"}


###短信设置编辑
GET {{baseUrl}}/sms/set/edit?id={{SmsSet_id}}
Accept: application/json


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



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


###短信设置删除
GET {{baseUrl}}/att/set/delete?id={{SmsSet_id}}
Accept: application/json




