文档
测试

Individual and multiple photos

POST
/qgy/personnel/photos/inbatch

接口描述

Creator and multiple picture encoded as base64 strings

Request parameters

参数名
类型
描述
必填
name
String
Name of person
必填
sex
String
Gender
可选
workNum
String
Number of workers
可选
nfcInfo
String
nfc information
可选
idCard
String
ID Card
可选
type
String
Type 0: Blacklist 1: White List
可选
phone
String
Mobile number
可选
unit
String
Unit
可选
address
String
Address
可选
email
String
Mailbox
可选
userId
Integer
Current user ID
必填
department
String
Unit
可选
work
String
Type of work
可选
tag
String
Staff Remarks
可选
idNo
String
IC card
可选
imgs
String
imgs, split by','(photo Base64 coded)
必填

Return sample

``` { "result": 1, "msg": "successful operation!", "code": "QG_SUS1000", "data"{ "guid": "644654B74ECC491484E33D432236A3F21ll",//guid only personnel "name": "Testing personnel", "workNum": "cs", "nfcInfo": "cs", "idCard": "cs", "type":"1", "tag":null, "phone":"123456789", "createTime":"2018-11-28T07:10:30+0000", "userId":40, "unit":"cs", "address":"sc", "email":"cs", "isDelte":1 , "serialNo":"cs", "work":"Rib checkers", "visitor":0, "startTime":null, "endTime":null, "idNo":null, "whether":0,//Is Administrator 0 No 1 Yes "openId":null, "ticket":null } ```