文档
测试

根据学段获取年级

POST
http://leave2.com/notice/api/WechatClass/getClassByXueDuan

请求头

参数名
类型
描述
必填
Authorization
V1BkWXloemU0clFEdllkY3VuNWctalJ4SElTPThYeW14aGdueW5TZFpUdXo5SjhTLWFTTnRRcGtEZ1MtdnFFZ2RuT0hJYlpVPVdoZD1KPTM1WHhmdmhnPUJlVHR4bGVUNElBcklybWxFVlhLTw%3D%3D
必填

请求参数

参数名
类型
描述
必填
xue_duan
学段id
必填

响应参数

参数名
类型
描述
必填
id
年级di
必填
name
年级名称
必填
xiaoqu
校区名称
必填

说明 / 示例

{ "status": 0, "msg": "操作成功", "datas": [ { "id": "193", "name": "一年级", "parent_id": "3", "type": "2", "type_name": "年级", "register_year": "2022", "standard_grade": "31", "order": "0", "open_group_chat": "0", "company_uuid": "wpB77hCAAAHV0TcmkNGR1TNbbH6TjX-A", "create_by_account": null, "create_by_name": null, "create_date": "2022-09-29 14:20:26", "edit_by_uuid": null, "edit_by_account": null, "edit_by_name": null, "edit_date": "2022-09-29 14:20:26", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "create_by_uuid": null, "department_name": "小学一年级", "campus_class_name": "", "path": ",1,2,3,193,", "xiaoqu": "江阴市周庄倪家巷实验小学", "only": true }, { "id": "4", "name": "二年级", "parent_id": "3", "type": "2", "type_name": "年级", "register_year": "2021", "standard_grade": "32", "order": "0", "open_group_chat": "0", "company_uuid": "wpB77hCAAAHV0TcmkNGR1TNbbH6TjX-A", "create_by_account": null, "create_by_name": null, "create_date": "2022-09-29 14:20:26", "edit_by_uuid": null, "edit_by_account": null, "edit_by_name": null, "edit_date": "2022-09-29 14:20:26", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "create_by_uuid": null, "department_name": "小学二年级", "campus_class_name": "", "path": ",1,2,3,4,", "xiaoqu": "江阴市周庄倪家巷实验小学", "only": true }, { "id": "5", "name": "三年级", "parent_id": "3", "type": "2", "type_name": "年级", "register_year": "2020", "standard_grade": "33", "order": "0", "open_group_chat": "0", "company_uuid": "wpB77hCAAAHV0TcmkNGR1TNbbH6TjX-A", "create_by_account": null, "create_by_name": null, "create_date": "2022-09-29 14:20:26", "edit_by_uuid": null, "edit_by_account": null, "edit_by_name": null, "edit_date": "2022-09-29 14:20:26", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "create_by_uuid": null, "department_name": "小学三年级", "campus_class_name": "", "path": ",1,2,3,5,", "xiaoqu": "江阴市周庄倪家巷实验小学", "only": true }, { "id": "6", "name": "四年级", "parent_id": "3", "type": "2", "type_name": "年级", "register_year": "2019", "standard_grade": "34", "order": "0", "open_group_chat": "0", "company_uuid": "wpB77hCAAAHV0TcmkNGR1TNbbH6TjX-A", "create_by_account": null, "create_by_name": null, "create_date": "2022-09-29 14:20:26", "edit_by_uuid": null, "edit_by_account": null, "edit_by_name": null, "edit_date": "2022-09-29 14:20:26", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "create_by_uuid": null, "department_name": "小学四年级", "campus_class_name": "", "path": ",1,2,3,6,", "xiaoqu": "江阴市周庄倪家巷实验小学", "only": true }, { "id": "7", "name": "五年级", "parent_id": "3", "type": "2", "type_name": "年级", "register_year": "2018", "standard_grade": "35", "order": "0", "open_group_chat": "0", "company_uuid": "wpB77hCAAAHV0TcmkNGR1TNbbH6TjX-A", "create_by_account": null, "create_by_name": null, "create_date": "2022-09-29 14:20:26", "edit_by_uuid": null, "edit_by_account": null, "edit_by_name": null, "edit_date": "2022-09-29 14:20:26", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "create_by_uuid": null, "department_name": "小学五年级", "campus_class_name": "", "path": ",1,2,3,7,", "xiaoqu": "江阴市周庄倪家巷实验小学", "only": true }, { "id": "8", "name": "六年级", "parent_id": "3", "type": "2", "type_name": "年级", "register_year": "2017", "standard_grade": "36", "order": "0", "open_group_chat": "0", "company_uuid": "wpB77hCAAAHV0TcmkNGR1TNbbH6TjX-A", "create_by_account": null, "create_by_name": null, "create_date": "2022-09-29 14:20:26", "edit_by_uuid": null, "edit_by_account": null, "edit_by_name": null, "edit_date": "2022-09-29 14:20:26", "is_delete": "0", "delete_by_uuid": null, "delete_date": null, "create_by_uuid": null, "department_name": "小学六年级", "campus_class_name": "", "path": ",1,2,3,8,", "xiaoqu": "江阴市周庄倪家巷实验小学", "only": true } ] }