文档
测试
POST
http://leave2.com/leavereturn/api/LeaveReturn/check

请求头

参数名
类型
描述
必填
Authorization
TkpiS2pMNkgwZEI1dko0SjU5SjYzWkJSMjlZS20tWks0TlJKd0tJZDQ4V3k0WVVaMkpvaW1KSXZsWHpDZE84LUM5MlB1UXlLPUJaTzBCbUs3VFRkMkphYTJESEROU1Vha0xzLTJOMzJzZEVxcktjSzBJWm4yUFJKMD1JOTU4bS0yT0Jka043Q3NOR25BY1ZtNFBjbTRPVHhG
必填

请求参数

参数名
类型
描述
必填
id
申请id
必填
status
状态 0 /1
必填
content
驳回说明
必填
file
签名文件
必填

响应参数

参数名
类型
描述
必填
id
申请id
必填
leave_id
请假id
必填
status
状态 1已提交 2班主任审批 3.校医审批 4校长审批 5驳回
必填
class_name
班级名称
必填
start_day
缺勤开始日期
必填
end_day
缺勤结束日期
必填
type
类型 sick:病假 issue:事假
必填
return_day
返校日期
必填
student_name
学生姓名
必填
symptom
症状描述
必填
remark
请假原因
必填
leave_days
请假天数
必填
symptom_remark
临床症状
必填
medical_status
就医情况 0/1
必填
hospital
就诊医院
必填
temperature
当前体温
必填
epidemic
传染病 0/1
必填
case_file
list
病例图片
必填
resume_file
list
复课证明
必填
logs
日志记录
必填
create_by_name
操作人
必填
type
操作类型 1提交 2审批通过 3审批失败
必填
create_date
操作时间
必填
file
签名文件
必填
content
审批失败说明
必填

说明 / 示例

{ "status": 0, "msg": "操作成功", "datas": { "id": "19629", "leave_id": "3095", "status": "1", "class_id": "257", "class_name": "二年级1班", "start_day": "2022-04-08", "start_time": null, "end_day": "2022-04-10", "end_time": null, "type": "sick", "return_day": "2022-04-11", "student_userid": "1c394b1d3813f9f2512d88102ae8b9fd", "student_name": "梁雪雪", "symptom": [ "hot", "tosse" ], "remark": "生病", "leave_days": "3.0", "symptom_remark": "生病", "medical_status": "0", "hospital": null, "temperature": "38", "create_by_uuid": null, "create_by_account": null, "create_by_name": null, "create_date": "2023-04-21 15:25:42", "create_mobile": null, "edit_by_uuid": null, "edit_by_account": null, "edit_by_name": null, "edit_date": "2023-04-21 15:25:42", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "school_year": null, "company_uuid": "wpB77hCAAADtF65MV8aWvLDGIefjpvwA", "school_year_id": null, "logs": [ { "create_by_name": "梁雪雪", "type": "1", "create_date": "2023-04-21 15:25:42", "file": "upload/dfgdfgdf/dfgdf", "content": null } ] } }