文档
测试

通讯录查询

POST
http://49.4.82.139:8081/api/contacts/selectName.do?

接口描述

根据用户和姓名查询通讯录(通讯录返回三个集合)

请求参数

参数名
类型
描述
必填
userId
Long
用户Id (必填)
必填
name
String
工作人员姓名
必填

响应参数

参数名
类型
描述
必填
retcode
状态码
必填
message
信息
必填
streetList
街道通讯录集合
必填
propertyList
物业通讯录集合
必填
communityList
社区通讯录集合
必填

说明 / 示例

{ "retcode": 0, "errcode": 0, "message": "success", "data": { "streetList": [ { "contactsId": 1, "department": "1", "name": "test", "telphone": "18844111234", "userType": 400, "firstGridId": 1, "secondGridId": 8, "thirdGridId": 42, "isDelete": 0, "createUser": "admin", "updateUser": "admin", "createTime": 1560841847000, "updateTime": 1560841847000 } ], "propertyList": [], "communityList": [ { "contactsId": 2, "department": "1", "name": "test1", "telphone": "18844111235", "userType": 500, "firstGridId": 1, "secondGridId": 8, "thirdGridId": 41, "isDelete": 0, "createUser": "admin", "updateUser": "admin", "createTime": 1560409847000, "updateTime": 1560409847000 } ] } }