Google授权登陆
API Description: 第三方Google授权登陆
| 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 | ||
| googleid | string | Required | google用户id | ||
| nickname | string | Required | 昵称 | ||
| avatar | string | Required | 头像 | ||
| string | Required | 邮箱 |
| Parameter Name | Type | Description |
|---|---|---|
| is_login | boolean | 是否登录成功 |
| user_id | int | 用户ID |
| token | string | 登录成功后的token,会话token |
| nickname | string | 昵称 |
| avatar | string | 头像 |
| user_type | int | 用户类型 0普通用户 1会员 |
| vip_expires_time | int | 会员过期时间 |
| 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 | |
| googleid | Required | |
| nickname | Required | |
| avatar | Required | |
| Required |
# 暂无示例,可添加示例文件:./src/view/docs/demos/V1.Login.GoogleLogin.json
A PHP framework foucs on API fast development.
© 2015-2025 Powered By PhalApi API Framework 2.23.0
专业版