添加岗位通知
消息说明:当添加岗位数据时,推送此类消息
参数说明:
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
messageId | String | Y | 唯一标识一条消息 |
type | String | Y | 消息类型,固定为job_create |
sendtime | Long | Y | 消息推送时间戳(精确到秒) |
data | JobCreatePushMsg | Y | 推送消息 |
JobCreatePushMsg
参数 | 类型 | 必传(Y/N) | 说明 |
---|---|---|---|
jobId | String | Y | 岗位id |
name | String | Y | 岗位名称 |
code | String | N | 岗位编码 |
type | Integer | Y | 岗位分类 0-岗位分类,1-岗位实体 |
parentId | String | N | 岗位所属的分类id |
remark | String | N | 岗位备注 |
introduction | String | N | 岗位说明 |
departmentIds | List<String> | N | 岗位适用部门 |
rankIds | List<String> | N | 岗位适用职级 |
消息样例:
{
"messageId":"01da0d187d274df0b388e8c86ab0143b",
"type":"job_create",
"data":{
"jobId":"bc3e5c61c74941508fd1e801317d262f",
"parentId":"a1e5ad54ac8e4449babdf86e9b0a0e37",
"type":1,
"name":"测试推送",
"code":"测试推送",
"remark":"11111",
"introduction":"1111",
"departmentIds":[
"e3ae0f25eb984fe898cb9cca8336450a",
"d1e332f117dc4ec8b9b1dcf47c6b5490"
],
"rankIds":[
"e40a66b4f97c44e9be5affcec21e8a7a"
]
},
"sendtime":1629083520
}