账号访问
# 账号访问
## 请求方式 get post
### 请求参数
| 参数 | 说明 | 类型 | 备注 | 是否必填 |
| ------- | -------- | ------ | ------------------------ | -------- |
| type | 请求类型 | string | 固定值 xy.user.online.access | 是 |
| time | 时间戳 | string | 时间戳 | 是 |
| token | 密码 | string | | 是 |
| device | 设备 | int | 0网页 1安卓 2苹果 3安卓平板 4苹果平板 5 盒子 6 微端| 是 |
| xy_channel_type| 请求类型 | string sdk cps pt fenfa cpl share| | 是/否 |
| xy_channelid| 入口 | string | | 是/否 |
| xy_gid | 游戏id | int | 游戏id | 是/否 |
| xy_sid | 游戏服id | int | 游戏服id | 是/否 |
| sign| 签名 | string | | 是 |
#### 签名
```
sign=md5(type#time#token)
```
#### 示例
```
认证站域名/api/index/index.aspx?type=xy.user.online.access &time=123456&token=xxxxx&xy_channel_type=xx&xy_channelid=xxx&xy_gid =xx&xy_sid =xxx&sign=xxxxxxxxx
```
##### 返回值
```json
{
"code": 1,
"msg": "成功",
"data":""
]
}
```
###### 返回值说明
| 参数 | 说明 | 类型 | 备注 | 是否必填 |
| ---- | ---------- | ------ | --------------------------- | -------- |
| code | 接口状态码 | int | 参见xykj result code status | 是 |
| msg | 接口信息 | string | | 是 |
| data | 接口信息 | object | | 是 |