登录接口
开发中
GET
http://159.75.169.224:7300/pz/auth/wxLogin
请求参数
Query 参数
code
string
必需
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://159.75.169.224:7300/pz/auth/wxLogin?code'
返回响应
🟢200成功
application/json
Body
code
integer
必需
msg
string
必需
time
string
必需
data
object
必需
sessionid
string
必需
userinfo
object
必需
openid
string
必需
示例
{
"code": 10000,
"msg": "登录成功",
"time": "1700536670",
"data": {
"sessionid": "vppzsid-ak2c8ildoack0mld4b28ftfjk8",
"userinfo": {
"id": 1,
"app_id": 1,
"area_id": 1,
"nickname": "小黄人",
"avatar": "/uploads/20231106/a2cb3d7d4cfe84c88c960b34664c22d3.jpeg",
"mobile": "",
"openid": "o_S0K5E18NjHVu_JT2gprCNghULY",
"province": "",
"city": "",
"district": "",
"orders": 2,
"orders_cancel": 0,
"orders_done": 2,
"expends": "0.02",
"admin_switch": 0,
"seller_switch": 0,
"black_switch": 0,
"createtime": 1699164118,
"updatetime": 1699337489,
"remark": "",
"invites": 0,
"inviter_id": 0,
"sells": 0,
"sell_money": "0.00",
"sell_income": "0.00",
"sell_outcash": "0.00",
"seller_id": 0,
"seller_time": 0,
"my_staff_id": 1,
"avatar_url": "http://159.75.169.224/uploads/20231106/a2cb3d7d4cfe84c88c960b34664c22d3.jpeg"
},
"openid": "o_S0K5E18NjHVu_JT2gprCNghULY"
}
}
修改于 2023-11-23 07:14:38