学生管理

这是学生管理


获取学生列表

[TOC]

简要描述
  • 用户注册接口
请求URL
  • http://localhost:8080/stu
请求方式
  • GET
参数
参数名 必选 类型 说明
token string 令牌
返回示例
 {

    "code": 1,

    "msg": "获取数据成功",

    "data": \[

        {

            "name": "小红",

            "classname": "高三一班",

            "age": "18",

            "score": "\[100,99\]",

            "id": 1

        },

        {

            "name": "小李",

            "age": "12",

            "classname": "初一",

            "score": "\[100,99\]",

            "id": "2"

        },

        {

            "id": 3,

            "name": "王五",

            "age": 18,

            "classname": "高三一班",

            "score": \[

                91,

                92

            \]

        },

        {

            "id": 4,

            "name": "赵六",

            "age": 18,

            "classname": "高三一班",

            "score": \[

                91,

                92

            \]

        },

        {

            "name": "小李",

            "age": "12",

            "classname": "初一",

            "score": "\[100,99\]",

            "id": "5"

        },

        {

            "id": 6,

            "name": "翠花",

            "age": 20,

            "classname": "高三一班",

            "score": \[

                91,

                92

            \]

        },

        {

            "id": 7,

            "name": "旺财",

            "age": 18,

            "classname": "高三一班",

            "score": \[

                91,

                92

            \]

        },

        {

            "name": "小梁1",

            "age": "18",

            "score": "\[91,92\]",

            "classname": "高三二班",

            "id": 8

        },

        {

            "name": "小梁1",

            "score": "\[91,92",

            "classname": "高三二班",

            "age": "17",

            "id": 9

        },

        {

            "name": "wc",

            "classname": "高三二班",

            "age": "18",

            "score": "\[100,99\]",

            "id": 10

        },

        {

            "name": "小明",

            "classname": "高三二班",

            "age": "18",

            "score": "\[100,99\]",

            "id": 11

        }

    \]

}
返回参数说明
参数名 类型 说明
code number 1代表成功 0代表失败
msg string 提示信息
data object 获取成功的数据
备注
  • 更多返回错误代码请看首页的错误代码描述

页面列表

ITEM_HTML