授权
POST
efclass.mofyi.com/oauth/token
接口描述
用户授权
请求参数
参数名
类型
描述
必填
grant_type
string
password
必填
client_id
int
2
必填
client_secret
string
ndszRE0NI9AgCKZPrAWe44INKi5wwwUMmMn6PPtl
必填
username
string
用户的openid
必填
password
string
空
必填
scope
srting
空
必填
响应参数
参数名
类型
描述
必填
status
int
200 授权成功 401 授权失败
必填
token_type
string
Bearer 授权类型
可选
expires_in
int
过期时间
可选
access_token
string
token
可选
refresh_token
string
可选