Skip to content

04. 获取个人信息

Vizards edited this page Dec 12, 2018 · 1 revision

获取教务系统学籍信息、头像、昵称、个性签名

通过解析 http://eams.uestc.edu.cn/eams/stdDetail.action 获取个人信息

Url

GET /api/user/profile

Header

参数 类型 必需 描述 示例
Content-Type string application/json application/json
Accept string application/json application/json
Authorization string Bearer Token Bearer [Your Token]

Response

status: 200 OK
{
    "code": 200,
    "data": {
        "avatarUrl": "https://uestc.ga/avatar.jpg",
        "nickName": "Vizards",
        "bio": "Simple Young & Naive",
        "stuID": "2019000008006",
        "stuName": "张三",
        "enName": "Zhang San",
        "gender": "",
        "grade": "2019",
        "plan": "4",
        "project": "本科",
        "level": "本科",
        "category": "普通本科生",
        "department": "外国语学院",
        "profession": "日语",
        "direction": "",
        "enrollDate": "2019-09-01",
        "graduateDate": "2023-07-01",
        "manager": "外国语学院",
        "waysOfLearning": "普通全日制",
        "eduForm": "",
        "status": "在籍在校",
        "registered": "",
        "atSchool": "",
        "class": "2019000000",
        "campus": "清水河校区",
        "avatar": "未设置"
    },
    "time": "2018-09-29T19:12:44Z",
    "msg": "Get Success"
}
参数名 描述 类型
avatarUrl 头像图片文件 URL,未设置则无此参数 String
nickName 昵称,未设置则无此参数 String
bio 签名/一句话描述,未设置则无此参数 String
stuID 学号 String
stuName 姓名 String
enName 英文名 String
gender 性别 String
grade 所在年级 String
plan 学制 String
project 项目 String
level 学历层次 String
category 学生类别 String
department 院系 String
profession 专业 String
direction 方向 String
enrollDate 入学时间 String
graduateDate 应毕业时间 String
manager 行政管理院系 String
waysOfLearning 学习形式 String
eduForm 教育形式 String
status 学籍状态 String
registered 是否在籍 String
atSchool 是否在校 String
class 行政班级 String
campus 所属校区 String
Clone this wiki locally