文档
测试

Personnel modification

PUT
/qgy/personnel/update

接口描述

According to the primary key personnel guid modify the personnel information

Request parameters

参数名
类型
描述
必填
currentId
String
Current user id
必填
name
String
Name of person
必填
sex
String
Gender
必填
workNum
String
Number of workers
可选
nfcInfo
String
nfc information
可选
idCard
String
ID Card
可选
type
Integer
Type 0: Blacklist 1: White List
可选
phone
String
Mobile number
可选
unit
String
Unit
可选
address
String
Address
可选
email
String
Mailbox
可选
userId
String
ID of users
可选
guid
String
A person guid
必填
department
String
Sector
可选
idNo
String
IC card
可选
tag
String
Staff Remarks
可选
whether
Integer
Administrator 0: No 1: Yes
可选
visitor
Integer
Visitor 0: Not Visitor 1: Visitors
可选
startTime
String
Start time visitor equal to 1 must YYYY - MM-DD HH:SS:mm
可选
endTime
String
The end time YYYY - MM-DD HH:SS:mm
可选

Return sample

``` { "result": 1, "msg": "successful operation!", "code": "QG_SUS1000", "data":true } ```