文档
测试

(30日修改)登陆

POST
healthsys/user/login

接口描述

登陆

请求参数

参数名
类型
描述
必填
schmail
string
校园邮箱
必填
vcode
int
邮箱验证码
必填

响应参数

参数名
类型
描述
必填
msg
string
成功:"success";失败:"invalid_mail"(指邮箱不是武理邮箱)或"vcode_not_match"(验证码不匹配)或"unknown_error"(后端bug或传入参数异常等)
必填
status
int
成功:1;失败:0
必填
data
Object
成功:User对象;失败:null
必填
uid
int
用户id
必填
name
string
用户名
必填
gender
string
用户性别
必填
qq
string
qq
必填
phone
string
手机号
必填
schmail
string
校园邮箱
必填
cretime
string
注册时间(该时间为毫秒值,非标准时间格式)
必填
age
int
年龄
必填