文档
测试

通过学号获取学生信息接口

GET
http://47.110.154.146:8092/student/getStu

接口描述

http://47.110.154.146:8092/student/getStu?id=19180405

请求参数

参数名
类型
描述
必填
id
String
8为学号
必填

说明 / 示例

成功返回 { status: "success", data: { stuId: "19180405", name: "王靖宇", major: "软件工程", department: "计电院", gender: "男", phone: "18052426861", email: "2982104330@qq.com" } } 失败返回 { status: "fail", data: { errCode: 20001, errMsg: "用户不存在" } }