接口版本:
版本号 |
制定人 |
制定日期 |
修订日期 |
1.0.0 |
kevin |
2020-02-13 |
|
请求URL:
请求方式:
请求头:
请求参数:
参数名 |
是否必须 |
类型 |
说明 |
code |
是 |
string |
第三方获取的code |
login_method |
是 |
string |
WeChat=微信 Aplipay=支付宝 |
login_type |
是 |
string |
public=公众号 |
three_tig |
是 |
string |
wechat_public=微信公众号 |
返回示例:
正确时返回:
{
"status": 200,
"msg": "登录成功",
"data": {
"uid": 32,
"avatar": "http://thirdwx.qlogo.cn/mmopen/vi_32/ibd9RqwFtrcaNdRLzfyYg6Q8ybUCc6avhcwbib0x648kibLPSyDSmPUlN3Z8EKodJkNibLmHINzs4ZZkle2OvSANZg/132",
"c_code": "",
"phone": "",
"email": "",
"username": "",
"male": "",
"birthday": null,
"nickname": "叶落已晚",
"password": "",
"type": "member",
"phone_active": 0,
"email_active": 0,
"gid": "",
"status": 1,
"create_at": "2020-02-13 16:28:07",
"update_at": null,
"change_username": 0,
"integral": 0,
"invite_code": null,
"pid": null,
"grade": null,
"pid_path": null,
"longitude": "",
"latitude": "",
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjMyLCJpc3MiOiJodHRwczovL3Rvb2wudW5pb24taG9tZS5jbi9tb2R1bGUvdW5pb250b29sL2xvZ2luL2NoZWNrVXNlciIsImlhdCI6MTU4MTU4MjQ4NywiZXhwIjoxNTg5MzU4NDg3LCJuYmYiOjE1ODE1ODI0ODcsImp0aSI6ImpqYlpiUjRkUEN3WENKR00ifQ.IPnXWb_JWHFauAXw9tXyshUPx5IcXfAFVkmFz_tx_G8"
}
}
错误时返回:
返回参数说明:
备注:
文档更新时间: 2020-02-13 16:37 作者:admin