**请求URL:** - ` http://xx.com/api/Home/editAuth` **请求方式:** - POST **请求类型:** - Content-Type:application/json **body参数:** |参数名|必选|类型|说明| |:---- |:---|:----- |----- | |customId |是 |string |人员customId | |sluices |是 |object | 闸机组 | |type |是 |string | del 删除 edit 新增或编辑 | **sluices参数:** |参数名|必选|类型|说明| |:---- |:---|:----- |----- | |facesluicesid |是 |string |闸机id | |tempCardType |否 |string |临时卡类型 0:永久 1:按时段通行 2:每日时段 3:按次 | |cardValidBegin |否 |string |临时卡开始时间(临时卡类型为1,2时为必填) | |cardValidEnd |否 |string |临时卡结束时间(临时卡类型为1,2时为必填) | |effectNumber |否 |int |通行次数(临时卡类型为3时为必填) | **请求示例** ``` { "customId" : "ad2cc586e42540b78ce6461fb06829c5", "sluices" :[{"facesluicesid":"5e606aab0c7cc59ccb284624","tempCardType":1,"cardValidBegin":"2019-07-05","cardValidEnd":"2019-09-05"}], "type":"del" } ``` **返回示例** ``` { "result": { "retcode": 0, "total": 0, "data": [ { "customId": "ad2cc586e42540b78ce6461fb06829c5", "name": "人间小甜瓜" } ], "message": "成功", "otherobj": null } } ``` **返回data参数说明** |参数名|类型|说明| |:----- |:-----|----- | |customId |string |人员customId | |name |string |人员姓名 |