功能说明:查询离职信息
请求方式:POST (HTTPS)
请求地址:https://qwif.do1.com.cn/qwcgi/api/userAPI/getDimissionInfo.do?token=token&corpId=corpId&wxUserId=wxUserId
|
参数名 |
释义 |
类型 |
是否必须 |
备注 |
|---|---|---|---|---|
|
corpId |
公司唯一标识 |
String |
是 | |
|
wxUserId |
微信用户ID |
String |
是 | |
|
token | 用于验证 | String | 是 | 参考获取token连接 |
//微信wxUserId
String wxUserId = "1023-zy";
UserApi api = QwSdkUtil.getInter(UserApi.class);
DimissionDataVO result = api.getDimissionDataByWxUserId(QwSdkUtil.getCacheToken(), wxUserId);
System.out.println(JSONUtil.stringify(result));
{
"dimissionInfo":
{
"departmentName":"类别部门0",
"leaveRemark":"离职Demo",
"leaveTime":"2018-10-13 17:18:43",
"mobile":"130000000",
"name":"小明",
"wxUserId":"1221"
}
}
| 参数 | 释义 | 备注 |
|---|---|---|
| wxUserId | 用户微信ID |
|
| name | 用户名称 |
|
| mobile | 手机号码 |
|
|
leaveTime |
离职时间 | 格式: yyyy-MM-dd HH:mm:ss |
|
leaveRemark |
离职原因 |
|
|
departmentName |
部门名称 | 多个部门用,隔开 例如:部门1,部门2 |