文档
测试

学期列表

GET
http://127.0.0.1:9001/schoolYear/getList

请求头

参数名
类型
描述
必填
Authorization
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzY2hvb2xJZCI6ImI1ODIzZDg0MjRhMzExZTc4YjYxMjg4MDIzYTIzNGQwIiwidXNlclR5cGUiOiIyIiwiZXhwIjoxNzE0MzU2NjU2LCJpYXQiOjE3MTQyNzAyNTYsImFjY291bnQiOiIwNDliYjlkNjA0YjNjZmQzYmY2ZDM1OTNiNjU1MDQ1ZCJ9.GTysw_dqo8MHMDtiLQ3WpxYpFs9h1hMF7zCSNycrMH0
必填

响应参数

参数名
类型
描述
必填
id
学期id
必填
titile
名称
必填
year
年份
必填
semester
上下学期 1上 2下
必填

说明 / 示例

{ "code": 200, "message": "操作成功", "data": [ { "id": 27, "titile": "2021-2022学年", "year": "2021", "total_week": "25", "start_date": 1630339200000, "end_date": 1644336000000, "semester": 1 }, { "id": 28, "titile": "2021-2022学年", "year": "2021", "total_week": "25", "start_date": 1644422400000, "end_date": 1661356800000, "semester": 2 }, { "id": 29, "titile": "2022-2023学年", "year": "2022", "total_week": "25", "start_date": 1661702400000, "end_date": 1674230400000, "semester": 1 }, { "id": 30, "titile": "2022-2023学年", "year": "2022", "total_week": "25", "start_date": 1675612800000, "end_date": 1687622400000, "semester": 2 }, { "id": 31, "titile": "2023-2024学年", "year": "2023", "total_week": "25", "start_date": 1693756800000, "end_date": 1706284800000, "semester": 1 }, { "id": 32, "titile": "2023-2024学年", "year": "2023", "total_week": "25", "start_date": 1708444800000, "end_date": 1719676800000, "semester": 2 } ] }