获取我的个人信息
API Description: 获取当前用户的个人信息
| Parameter Name | Type | Is Required | Default | Note | Description |
|---|---|---|---|---|---|
| sign | string | Required | 签名认证 | ||
| timestamp | string | Required | 时间戳 | ||
| ext | string | Optional | 渠道编号 | ||
| versioncode | int | Optional | 当前版本ID | ||
| language | int | Optional | 1 | 语言:1英文2繁体 | |
| unique_id | string | Optional | 手机唯一id | ||
| user_id | int | Required | 用户ID | ||
| token | string | Required | 会话token |
| Parameter Name | Type | Description |
|---|---|---|
| id | int | 用户id |
| nickname | string | 昵称 |
| avatar | string | 头像 |
| mobile | string | 手机号 |
| user_type | int | 用户类型 0普通用户 1会员 |
| vip_expires_time | int | 会员过期时间 |
| on_trial | int | 是否开通过试用会员 1是0否 |
| noread | int | 未读消息数 |
| Error Status | Error Description |
|---|---|
| 400 | 表示客户端参数错误 |
| 404 | 表示接口服务不存在 |
| 500 | 表示服务端内部错误 |
| Parameter | Is Required | Value |
|---|---|---|
| service | Required | |
| sign | Required | |
| timestamp | Required | |
| ext | Optional | |
| versioncode | Optional | |
| language | Optional | |
| unique_id | Optional | |
| user_id | Required | |
| token | Required |
# 暂无示例,可添加示例文件:./src/view/docs/demos/V1.User.Profile.json
A PHP framework foucs on API fast development.
© 2015-2025 Powered By PhalApi API Framework 2.23.0
专业版