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

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

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

###预约自动签到服务约束列表
POST {{baseUrl}}/appointment/constraint/list
Authorization: {{authToken}}
Content-Type: application/json

{
    "page":1,
    "size":10
}


###预约自动签到服务约束更新与保存
POST {{baseUrl}}/appointment/constraint/save
Authorization: {{authToken}}
Content-Type: application/json

{
        "siteId":774,
        "siteName":"mcchka",
        "personId":768,
        "name":"js9j3t",
        "contact":"i9965s",
        "idCardType":"142rmn",
        "idCardNo":"imden0",
        "accumulative":0,
        "constraintTime":"1680969600000",
        "createMethod":322,
        "operator":"6dfawy",
        "constraint":0,
}

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

###预约自动签到服务约束查看
GET {{baseUrl}}/appointment/constraint/info?id={{AppointmentConstraint_id}}
Authorization: {{authToken}}
Accept: application/json

###预约自动签到服务约束编辑
GET {{baseUrl}}/appointment/constraint/edit?id={{AppointmentConstraint_id}}
Authorization: {{authToken}}
Accept: application/json


###预约自动签到服务约束删除
GET {{baseUrl}}/appointment/constraint/delete?id={{AppointmentConstraint_id}}
Authorization: {{authToken}}
Accept: application/json




