文档
测试

班级列表

POST
http://leave2.com/duty/api/HomePage/getClassList

请求头

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

请求参数

参数名
类型
描述
必填
item_id
模板id
必填
target_id
班级 / 年级 / 学段 id
必填

响应参数

参数名
类型
描述
必填
id
班级id
必填
department_name
班级名称
必填

说明 / 示例

{ "status": 0, "msg": "操作成功", "datas": [ { "id": "515", "name": "1班", "parent_id": "512", "type": "1", "type_name": "班级", "register_year": "", "standard_grade": "", "order": "911001", "open_group_chat": "0", "company_uuid": "wpB77hCAAADtF65MV8aWvLDGIefjpvwA", "create_by_account": null, "create_by_name": null, "create_date": "2023-04-12 13:34:01", "edit_by_uuid": null, "edit_by_account": null, "edit_by_name": null, "edit_date": "2023-04-12 13:34:01", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "create_by_uuid": null, "department_name": "高一1班", "campus_class_name": "", "path": ",1,474,511,512,515," }, { "id": "391", "name": "1班", "parent_id": "513", "type": "1", "type_name": "班级", "register_year": "", "standard_grade": "", "order": "921001", "open_group_chat": "1", "company_uuid": "wpB77hCAAADtF65MV8aWvLDGIefjpvwA", "create_by_account": null, "create_by_name": null, "create_date": "2023-04-12 13:34:01", "edit_by_uuid": null, "edit_by_account": null, "edit_by_name": null, "edit_date": "2023-04-12 13:34:01", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "create_by_uuid": null, "department_name": "高二1班", "campus_class_name": "", "path": ",1,474,511,513,391," } ] }