文档
测试

Multi-conditional view of information specified by a person

POST
/qgy/personnel/conditions

接口描述

May || according to the name || the gender || department || the work number || the telephone number, the ID card || the type of work unit several merge to view the personnel designated information Returns all people under the current user without passing parameters other than the current user

Request parameters

参数名
类型
描述
必填
name
String
Name of person
可选
sex
String
Gender
可选
department
String
Sector
可选
workNum
String
Number of workers
可选
phone
String
Mobile number
可选
idCard
String
ID Card
可选
work
String
Type of work
可选
index
Integer
Current page number
可选
length
Integer
Number of pages per page
可选
userId
String
Current user id
必填
unit
String
Unit
可选
type
Integer
Type 0: Blacklist 1: White List
可选
deviceKey
String
Equipment serial number
可选
guid
String
A person guid
可选

Return sample

``` { "result": 1, "msg": "successful operation!", "number": 10, "code": "QG_SUS1000", "data": [ { "id": 2, "guid": "U6YVHXNJ3YXRJQGYUV7HIPZ8TRYL", "name": "Testing3", "sex": "Male", "whether":0,//Is Administrator 0 No 1 Yes "ticket":"gQH47joAAAAAAAAAASxodHRwOi8vd2VpeGluLnFxLmNvbS9xL2taZ2Z3TVRtNzJXV1Brb3ZhYmJJAAIEZ23sUwMEmm 3sUw=="//The two-dimensional code ticket, obtained can be exchanged for two-dimensional code in valid time by this ticket。 "workNum": "005", "nfcInfo": "654684534135", "idCard": "564164654964", "type": 0,//Type 0: Blacklist 1: White List "phone": "5343515136", "unit": "QIGU", "address": "Hangzhou", "email": "1354351314", "userId": null, "isDelete": 1, "createTime": "2019-08-26T09:16:52.000+0000", "department": "Technology", "serialNo": "1", "work": null, "visitor":0, "startTime":null, "endTime":null, "faces": [ { "createTime": "2018-12-28T03:23:16+0000", "faceUrl": "ceshi2", "guid": "ceshi2", "personGuid": "68E1FC365F05419196117ACC924F17F1", "name":"cs" } ] , // The following two parameters pass the device serial number to return "_checked":true, //Are you authorized to return this parameter to true device "_disabled": false, //Does the photo not return this parameter for true without the photo } ], "count": 1 } ```