文档
测试

我的信息

GET
https://oucschool.hqshop.club/api1.0/userinfo.php

请求参数

参数名
类型
描述
必填
openid
string
小程序ID
必填

响应参数

参数名
类型
描述
必填
state
int
1为成功,0为失败
必填
message
string
无信息为成功,失败则返回相应文本
必填
userInfo
array
我的信息
必填
id
string
我的ID
必填
nickname
string
我的昵称
必填
username
string
我的姓名
必填
tel
string
我的电话
必填
email
string
我的Email
必填
sex
string
我的性别(0未知,1男,2女)
必填
regtime
string
注册时间
必填
photo
string
头像
必填
lxdl
string
连续登陆天数
必填
qrcode
string
小程序分享码
必填
points
string
我的积分
必填
issignin
string
0为今天未签到,1为已签到
必填

说明 / 示例

{ "state": "1", "message": "", "userInfo": { "0": { "id": "7077", "nickname": "倒影", "username": "", "tel": "", "email": "", "sex": "0", "regtime": "2020-04-19 22:07:47", "photo": "", "lxdl": "4", "qrcode": "https://oucschool.hqshop.club/upload/xqrcode/oOdam5HXroFOSmUSM6QW7xH8mw7Q.png", "points": "34" }, "issignin": "0" } }