请假审批
{
"ts": "1502199207.7171419", // 时间戳
"uuid": "bc447199585340d1f3728d26b1c0297a",
"token": "41a9425ea7df4536a7623e38fa321bae", // 校验token
"type": "event_callback", // 事件回调此处固定为event_callback
"event": {
"app_id": "cli_xxx",
"tenant_key":"xxx",
"type": "leave_approvalV2",
"instance_code": "xxx", // 审批实例Code
"user_id": "xxx", // 用户id
"open_id": "ou_xxx", // 用户open_id
"origin_instance_code":"xxxx" // 销假单关联的原始单据
"start_time": 1564590532, // 审批发起时间
"end_time": 1564590532, // 审批结束时间
"leave_feeding_arrive_late": 0, //上班晚到(哺乳假相关)
"leave_feeding_leave_early": 0, //下班早走(哺乳假相关)
"leave_feeding_rest_daily": 0, //每日休息(哺乳假相关)
"leave_name": "@i18n@123456", // 假期名称
"leave_unit": "DAY", // 请假最小时长
"leave_start_time": "2019-10-01 00:00:00",// 请假开始时间
"leave_end_time":"2019-10-02 00:00:00",// 请假结束时间
"leave_detail": [
["2019-10-01 00:00:00","2019-10-02 00:00:00"]
], // 具体的请假明细时间
"leave_range": [
["2019-10-01 00:00:00","2019-10-02 00:00:00"]
], // 具体的请假时间范围
"leave_interval": 86400, // 请假时长,单位(秒)
"leave_reason": "abc", // 请假事由
"i18n_resources":[ {
"locale":"en_us",
"is_default":true,
"texts":{
"@i18n@123456":"Holiday"
}
} ] // 国际化文案
}
}
{
"ts": "1502199207.7171419", // 时间戳
"uuid": "bc447199585340d1f3728d26b1c0297a",
"token": "41a9425ea7df4536a7623e38fa321bae", // 校验token
"type": "event_callback", // 事件回调此处固定为event_callback
"event": {
"app_id": "cli_xxx",
"tenant_key":"xxx",
"type": "leave_approval_revert",
"instance_code": "xxx", // 审批实例Code
"operate_time": 1564590532,
"status": "REVERTED"
}
}
修改于 2023-02-02 04:21:27