简要描述:
接口版本:
| 版本号 |
制定人 |
制定日期 |
修订日期 |
| 1.0.0 |
方毅 |
2017-11-29 |
xxxx-xx-xx |
请求URL:
请求方式:
请求参数:
| 参数名 |
是否必须 |
类型 |
说明 |
| openId |
是 |
string |
微信openId |
返回示例:
正确时返回:
{ "data": { "id": "1", "name": "郑成功", "sex": "1", "age": "18", "number": "100001", "avatar": "http://res.xjk.com/img/default_header.jpg", "mobile": "13800138000", "email": "123123@qq.com", "status": "2", "position": "总经理", "organization": "技术部门", "positionTitle": "高级总经理", "independentEntityId": "1", "entityName": "技术部门", "orgId": "1", "positionId": "1", "positionTitleId": "1", "userId": "1", "useStatus": "1", "onlineStatus": "1" }, "errCode": "0", "errInfo": "success"}
错误时返回:
{ "errCode": 10036, "errInfo": "签名错误"}
返回参数说明:
| 参数名 |
类型 |
说明 |
| id |
int |
员工ID |
| name |
string |
员工姓名 |
| sex |
int |
性别[1=男],[2=女] |
| age |
int |
员工年龄 |
| number |
string |
员工工号 |
| avatar |
string |
员工头像 |
| mobile |
string |
员工手机 |
| email |
string |
邮箱 |
| positionId |
int |
职位ID |
| position |
string |
职位 |
| orgId |
int |
机构ID |
| organization |
string |
机构名称 |
| positionTitleId |
int |
职称ID |
| positionTitle |
string |
职称 |
| independentEntityId |
int |
独立主体ID |
| entityName |
string |
主体主体名称 |
| userId |
int |
用户ID |
| status |
int |
员工状态 [1=试用中],[2=已转正] |
| useStatus |
int |
是否启用[1=试用中],[2=已转正] |
备注: