文档
测试

学员详情接口

GET
http://jygl.znsite.cn/index.php/index/Teacher/studentInfo

请求参数

参数名
类型
描述
必填
student_id
int
学员id
必填

响应参数

参数名
类型
描述
必填
code
int
响应码
必填
studentInfo
array
学员信息
必填
id
int
id
必填
student_num
string
学号
必填
name
string
姓名
必填
nickname
string
昵称
必填
sex
string
性别
必填
birth
string
生日
必填
header
string
头像
必填
age
int
年龄
必填
mobile
string
联系电话
必填
relation
string
联系人与学员关系
必填
spare_mobile
string
备用号码
必填
spare_relation
string
备用联系人与学员关系
必填

说明 / 示例

{ "code": 200, "studentInfo": { "id": 13, "name": "小灰灰", "nickname": "灰灰", "birth": "2010-04-26", "header": "http://www.jygl.cn/storage/uploads/20200331/93fb17c3c9f8969e12e9c0863c2c012c.png", "student_num": "03318173", "sex": "男", "mobile": "13365252541", "relation": "妈妈", "spare_mobile": null, "spare_relation": null, "age": 10 } }