登录
POST
http://api.dev.toimc.com:22000/login/login
请求参数
参数名
类型
描述
必填
username
string
示例:toimc_admin@toimc.com
必填
password
string
示例:toimc@520
必填
code
string
图形验证码:示例:u7xq
必填
sid
string
示例:543a3812-c106-45b0-8963-19bb371db893
必填
响应参数
参数名
类型
描述
必填
code
int
示例:200
必填
favs
int
示例:100000
必填
gender
string
示例:
必填
roles
array
数据列表
必填
pic
string
示例:/img/header.jpg
必填
mobile
string
示例:15895932504
必填
status
string
示例:0
必填
regmark
string
示例:用户很懒,什么都没有留下~
必填
location
string
示例:
必填
isVip
string
示例:0
必填
count
int
示例:0
必填
_id
string
示例:5e78d19578c4d0c06e480a0b
必填
name
string
示例:toimc_admin
必填
created
string
示例:2020-03-23T15:11:17.241Z
必填
__v
int
示例:0
必填
updated
string
示例:2020-04-27T00:53:51.160Z
必填
isSign
boolean
示例:false
必填
token
string
jwt令牌
必填