文档
测试

手机号登录

GET
http://social.hndaoben.com/api/user/mobilelogin?mobile=13383847890&captcha=123456

请求参数

参数名
类型
描述
必填
mobile
int
示例:13383847890
必填
captcha
int
示例:123456
必填
share_code
推广码
必填

响应参数

参数名
类型
描述
必填
code
int
示例:1
必填
msg
string
示例:登录成功
必填
time
string
示例:1625562190
必填
data
object
数据字典
必填
userinfo
object
数据字典
必填
id
int
示例:2
必填
username
string
示例:13383847890
必填
nickname
string
示例:133****7890
必填
mobile
string
示例:13383847890
必填
avatar
string
示例:data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZlcnNpb249IjEuMSIgaGVpZ2h0PSIxMDAiIHdpZHRoPSIxMDAiPjxyZWN0IGZpbGw9InJnYigxNjAsMjI5LDIyMCkiIHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAiIGhlaWdodD0iMTAwIj48L3JlY3Q+PHRleHQgeD0iNTAiIHk9IjUwIiBmb250LXNpemU9IjUwIiB0ZXh0LWNvcHk9ImZhc3QiIGZpbGw9IiNmZmZmZmYiIHRleHQtYW5jaG9yPSJtaWRkbGUiIHRleHQtcmlnaHRzPSJhZG1pbiIgZG9taW5hbnQtYmFzZWx...
必填
gender
int
示例:0
必填
birthday
object
示例:null
必填
bio
string
示例:
必填
label
string
示例:
必填
score
int
示例:0
必填
height
object
示例:null
必填
address
string
示例:
必填
culture
string
示例:
必填
school
string
示例:
必填
job
string
示例:
必填
home
string
示例:
必填
income
string
示例:0.00
必填
is_marry
int
示例:0
必填
is_house
int
示例:0
必填
token
string
示例:d6011b9e-8f7b-458e-8ebf-f1eed0bd7c42
必填
user_id
int
示例:2
必填
createtime
int
示例:1625562190
必填
expiretime
int
示例:1628154190
必填
expires_in
int
示例:2592000
必填