云游戏 - 校验游戏状态(079)
编号 : 079
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| gid | int | Y | 1 | 游戏gid |
返回值
{
"status": -100,
"msg": "游戏不存在",
"data": " "
}
{
"status": 1,
"msg": "成功",
"data": "数据存在"
}
云游戏 - 评论回复举报(078)
编号 : 078
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 1 | 举报原因 '1:政治、色情等敏感信息 2:骂人、说脏话、人身攻击 3:散播虚假广告、诈骗、诱导 4:刷屏捣乱5:赌博6:其他原因 ' |
| id | int | Y | 1 | 留言评论id |
| m_type | int | Y | 1 | 1评论 2回复 |
| text | string | Y | 111 | 举报内容 |
返回值
{
"status": 1,
"msg": "成功",
"data": " "
}
云游戏 - 删除回复(077)
编号 : 67
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | Y | 评论id |
返回值
{
"status": 1,
"msg": "删除成功",
"data": {
}
}
云游戏 - 删除指定消息(076)
编号 : 076
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | string | Y | 消息id | |
| type | int | Y | 消息类型 |
返回值
{
"status": 1,
"msg": "成功",
"data": " "
}
云游戏 - 设置消息已读(075)
编号 : 075
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 消息类型 | |
| id | string | N | 消息id (tip:不传id默认所有消息设置为已读) |
返回值
{
"status": -100,
"msg": "失败",
"data": " "
}
云游戏 - 消息列表详情(074)
编号 : 074
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 消息类型 | |
| score | string | Y | ||
| page | int | N |
返回值
{
"status": 1,
"msg": "成功",
"data": {
"list": [
{
"id": "M202010211616292965162135128",//消息id
"header": {//消息头部信息
"tag": "点赞评论",
"uid": 128,
"nickname": "新用户65938296",
"avatar": "https://pic.4399it.com/group1/M00/00/16/wKg-1F7CI22APM2LAABZ6Yzku8k275.png"
},
"info": {//消息主体信息
'is_delete': 1,//调用新版本已删除ui
"info": "给你送上一个大大的赞",//消息内容
"extra_info": "这个是回*息*",//消息子内容
"type": 3,//跳转类型 1:官方消息 2:评论消息 3:点赞消息
"jump": "70",//跳转地址/id
},
"time": "2020-10-21 16:16:29",
"type": 3,
"score": 113992378,
"status": "-1",//消息状体 -1:未读 1:已读
"time_string": "1小时前"//消息时间类型
}
],
"score": 113992378
}
}
// ================================== 回复消息 ====================================》
{
"status": 1,
"msg": "成功",
"data": {
"list": [
{
"id": "M202010211747013336678729128",
"header": {
"tag": "回复评论",
"uid": 128,
"nickname": "新用户65938296",
"avatar": "https://pic.4399it.com/group1/M00/00/16/wKg-1F7CI22APM2LAABZ6Yzku8k275.png"
},
"info": {
'is_delete': 1,//1:调用新版本已删除ui
"info": "最总修改数据!~~~~",
"extra_info": "添加回复回复89~~",
"type": 2,
"jump": "95",
"status": -1
},
"time": "2020-10-21 17:47:01",
"type": 2,
"score": 114003242,
"status": "-1",
"time_string": "刚刚"
}
],
"score": 114003242
}
}
// ==========================. 原来app内消息 =========================》
{
"status": 1,
"msg": "成功",
"data": {
"list": [
{
"id": 43,
"header": {
"title": "测试发送app消息"
},
"info": {
"info": "这个是子标题测试",
"type": 4,
"m_type": "9", //8:外链 9:文本信息',
"jump": 43,
"status": -1
},
"time": "2020-10-22 09:03:24",
"type": 4,
"score": 114113208,
"status": "-1",
"time_string": "刚刚"
}
],
"score": 114113208
}
}
云游戏 - 获取用户消息配置数据(073)
编号 : 073
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|
返回值
{
"status": 1,
"msg": "成功",
"data": {
"list": [
{
"type": 1, //type 1:系统消息 2:评论消息 3:点赞 4:官方邮件
"num": "84"
},
{
"type": 2,
"num": "4"
},
{
"type": 3,
"num": 0
},
{
"type": 4,
"num": "36"
}
]
}
}
云游戏 - 评论点赞(072)
编号 : 072
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | Y | 评论id |
返回值
{
"status": 1,
"msg": "成功",
"data": {
"light_num": 1,//点赞数量
"light_status": -1//点赞状态
}
}
云游戏 - 评论详情 (071)
编号 : 071
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| comment_id | int | Y | 评论id | |
| page | int | Y | 0 | 当前页面 |
| page_size | int | N | 10 | 每页显示数量 |
| score | string | N | 排序值 |
返回值
{
"status": 1,
"msg": "成功",
"data": {
"list": [
{
"content": "大家每天都要开开心心的亚子~回72回复",
"id": "88",
"uid": 128,
"c_id": 1,
"type": 1,
"to_uid": "128",
"avatar": "https://pic.4399it.com/group1/M00/00/16/wKg-1F7CI22APM2LAABZ6Yzku8k275.png",
"avatar_box": "",
"nickname": "新用户65938296",
"to_content": "新用户65938296:大家每天都要开开心心的亚子~",
"replay_state": 1,
"to_nickname": "新用户65938296",
"to_avatar": "https://pic.4399it.com/group1/M00/00/16/wKg-1F7CI22APM2LAABZ6Yzku8k275.png",
"to_avatar_box": "",
"self": 1,
"state_string": "审核中",
"time_string": "8小时前",
"comment_id": 66,
"replay_id": 68,
"light_status": -1,
"score": 3206138726
}
],
"more": 1,
"score": 3206138726,
"num": "-3",
"comment_info": {
"content": "这个是回复消息5",
"id": "66",
"uid": "128",
"c_id": "1",
"type": "1",
"state": "-1",
"to_uid": 0,
"avatar": "https://pic.4399it.com/group1/M00/00/16/wKg-1F7CI22APM2LAABZ6Yzku8k275.png",
"avatar_box": "",
"nickname": "新用户65938296",
"self": 1,
"state_string": "审核中",
"time_string": "10-16 15:24",
"comment_id": 0,
"replay_id": 0,
"light_status": -1,
"light_num": 0,
"num": -3
}
}
}
云游戏 - 添加回复(070)
编号 : 070
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| comment_id | int | Y | 1 | 评价id |
| replay_id | int | N | 二级回复id | |
| content | string | Y | 回复内容 |
返回值
{
"status": 1,
"msg": "您的回复含有敏感词汇,请删掉或更改后再试",
"data": {
"state": -1001,//留言中存在违规词汇返回数据
"content": "大家每天都要开开心心的亚子~回72回复*"//留言内容
}
}
{
"status": 1,
"msg": "添加回复成功 ",
"data": {
"content": "接口添加回复~",
"id": "96",
"uid": 128,
"c_id": 1,
"type": 1,
"to_uid": "128",
"avatar": "https://pic.4399it.com/group1/M00/00/16/wKg-1F7CI22APM2LAABZ6Yzku8k275.png",
"avatar_box": "",
"nickname": "新用户65938296",
"to_nickname": "新用户65938296",
"to_avatar": "https://pic.4399it.com/group1/M00/00/16/wKg-1F7CI22APM2LAABZ6Yzku8k275.png",
"to_avatar_box": "",
"state": -1,
"self": 2,
"state_string": "审核中",
"time_string": "刚刚",
"comment_id": 77,
"replay_id": 0,
"light_status": -1
}
}
{
"status": 1,
"msg": "添加回复成功 ",
"data": {
"content": "接口添加回复~",
"id": "97",
"uid": 128,
"c_id": 1,
"type": 1,
"to_uid": 128,
"avatar": "https://pic.4399it.com/group1/M00/00/16/wKg-1F7CI22APM2LAABZ6Yzku8k275.png",
"avatar_box": "",
"nickname": "新用户65938296",
"to_content": "接口添加回复~",
"replay_state": 1,
"to_nickname": "新用户65938296",
"to_avatar": "https://pic.4399it.com/group1/M00/00/16/wKg-1F7CI22APM2LAABZ6Yzku8k275.png",
"to_avatar_box": "",
"state": -1,
"self": 2,
"state_string": "审核中",
"time_string": "刚刚",
"comment_id": 77,
"replay_id": 96,
"light_status": -1
}
}
云游戏 - 删除评论(067)
编号 : 067
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | Y | 评论id | |
| type | int | Y | 当前聊天类型1:游戏 2:发现 | |
| c_id | int | Y | 当前模块id |
返回值
{
"status": 1,
"msg": "删除成功",
"data": {
"user_comment_info": {
"content": "这个是回*息*",
"id": "70",
"uid": "128",
"c_id": "1",
"type": "1",
"state": "-1",
"to_uid": 0,
"avatar": "https://pic.4399it.com/group1/M00/00/16/wKg-1F7CI22APM2LAABZ6Yzku8k275.png",
"avatar_box": "",
"nickname": "新用户65938296",
"self": 1,
"state_string": "审核中",
"time_string": "19小时前",
"comment_id": 0,
"replay_id": 0,
"light_status": -1,
"light_num": 0,
"num": 0,
"score": 3206055636,
"list": [],
"more": -1
}
}
}
云游戏 - 添加评论(068)
编号 : 068
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| c_id | int | Y | 1 | 游戏id |
| type | int | Y | 1 | 消息回复类型 1:游戏 2:发现 3:其他 |
| content | string | Y | 评论/回复内容 |
返回值
{
"status": 1,
"msg": "添加评论成功 ",
"data": {
"id": "122",
"time": "刚刚",
"user_comment_info": {
"content": "222222",
"id": "122",
"uid": 128,
"c_id": 1,
"type": 1,
"state": -1,
"to_uid": 0,
"avatar": "https://pic.4399it.com/group1/M00/00/16/wKg-1F7CI22APM2LAABZ6Yzku8k275.png",
"avatar_box": "",
"nickname": "新用户65938296",
"self": 2,
"state_string": "审核中",
"time_string": "刚刚",
"comment_id": 0,
"replay_id": 0,
"light_status": -1,
"light_num": 0,
"num": 0,
"info": {
"id": 1,
"img": "https://pic.4399it.com/group1/M00/00/43/wKg-1F8_ZNOAPe4ZAABkVrz73hw157.jpg",
"title": "死亡细胞"
},
"score": 114845110,
"list": [],
"more": 1
}
}
}
云游戏 - 获取评论列表(067)
编号 : 067
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | N | 1 | 1:游戏 2:发现 3:其他 |
| c_id | int | N | 1 | 对应模块id。type == 1 c_id = 游戏id |
| score | string | Y | 排序值 | |
| page | int | Y | 0 | 当前页面 |
| page_size | int | N | 10 | 每页数量 |
| comment_type | int | N | 1 | 评论模块 1:普通评论 2:热门评论 3: 用户自己的评论4:用户游戏评论 |
返回值
{
"status": 1,
"msg": "成功",
"data": {
"list": [
{
"content": "这个是回*息*",
"id": "77",
"uid": "128",
"c_id": "1",
"type": "1",
"state": "1",
"to_uid": 0,
"avatar": "https://pic.4399it.com/group1/M00/00/16/wKg-1F7CI22APM2LAABZ6Yzku8k275.png",
"avatar_box": "",
"nickname": "新用户65938296",
"self": 1,
"state_string": "",
"time_string": "10-19 16:25",
"comment_id": 0,
"replay_id": 0,
"light_status": -1,
"light_num": 0,
"num": 4,
"info": {
"id": "1",
"img": "https://pic.4399it.com/group1/M00/00/43/wKg-1F8_ZNOAPe4ZAABkVrz73hw157.jpg",
"type": null,
"title": "死亡细胞",
"sub_title": null
},
"score": 3206191706,
"list": [
{
"content": "孔子约不说了12",
"id": "126",
"uid": 128,
"c_id": 1,
"type": 1,
"to_uid": 128,
"avatar": "https://pic.4399it.com/group1/M00/00/16/wKg-1F7CI22APM2LAABZ6Yzku8k275.png",
"avatar_box": "",
"nickname": "新用户65938296",
"to_content": "接口添加回复~",
"replay_state": 1,
"to_nickname": "新用户65938296",
"to_avatar": "https://pic.4399it.com/group1/M00/00/16/wKg-1F7CI22APM2LAABZ6Yzku8k275.png",
"to_avatar_box": "",
"state": -1,
"self": 2,
"state_string": "审核中",
"time_string": "4小时前",
"comment_id": 77,
"replay_id": 105,
"light_status": -1,
"score": 114308150
},
{
"content": "孔子约不说了12",
"id": "125",
"uid": 128,
"c_id": 1,
"type": 1,
"to_uid": "128",
"avatar": "https://pic.4399it.com/group1/M00/00/16/wKg-1F7CI22APM2LAABZ6Yzku8k275.png",
"avatar_box": "",
"nickname": "新用户65938296",
"to_nickname": "新用户65938296",
"to_avatar": "https://pic.4399it.com/group1/M00/00/16/wKg-1F7CI22APM2LAABZ6Yzku8k275.png",
"to_avatar_box": "",
"state": -1,
"self": 2,
"state_string": "审核中",
"time_string": "4小时前",
"comment_id": 77,
"replay_id": 0,
"light_status": -1,
"score": 114308080
}
],
"more": 1
}
],
"score": 3206191706,
"num": 0,
"user_comment_info": {
"content": "这个是回*息*",
"id": "77",
"uid": "128",
"c_id": "1",
"type": "1",
"state": "1",
"to_uid": 0,
"avatar": "https://pic.4399it.com/group1/M00/00/16/wKg-1F7CI22APM2LAABZ6Yzku8k275.png",
"avatar_box": "",
"nickname": "新用户65938296",
"self": 1,
"state_string": "",
"time_string": "10-19 16:25",
"comment_id": 0,
"replay_id": 0,
"light_status": -1,
"light_num": 0,
"num": 4,
"info": {
"id": "1",
"img": "https://pic.4399it.com/group1/M00/00/43/wKg-1F8_ZNOAPe4ZAABkVrz73hw157.jpg",
"type": null,
"title": "死亡细胞",
"sub_title": null
},
"score": 3206191706,
"more": 1
}
}
}
云游戏 - 支付开关配置(066)
编号 : 66
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|
返回值
{
"status": 1,
"msg": "OK",
"data": {
"link": "",
"status": -1
}
}
备注
111
云游戏 - 支付列表(065)
编号 : 65
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| status | int | N | 0 | 订单状态 |
| currentPage | int | N | 0 | 当前页 |
| pageSize | int | N | 10 | 每页数量 |
返回值
{
"status": 1,
"msg": "OK",
"data": {
"list": [
{
"ctime": "08-03 16:57:58",
"describe": "订单详情(充值代币)",
"subject": "支付宝支付1元",
"icon": "https://pic.4399it.com/group1/M00/00/3D/wKg-1F8ovaCAfpXOAAAzKowR8kk827.png",
"state": "已完成"
},
{
"ctime": "08-03 16:51:44",
"describe": "订单详情(充值代币)",
"subject": "微信支付1元",
"icon": "https://pic.4399it.com/group1/M00/00/3D/wKg-1F8ovaCAau7JAAAZTIzFl6U844.png",
"state": "已完成"
},
{
"ctime": "08-03 16:37:22",
"describe": "订单详情(充值代币)",
"subject": "支付宝支付1元",
"icon": "https://pic.4399it.com/group1/M00/00/3D/wKg-1F8ovaCAfpXOAAAzKowR8kk827.png",
"state": "已完成"
},
{
"ctime": "08-03 16:34:59",
"describe": "订单详情(充值代币)",
"subject": "微信支付1元",
"icon": "https://pic.4399it.com/group1/M00/00/3D/wKg-1F8ovaCAau7JAAAZTIzFl6U844.png",
"state": "已完成"
},
{
"ctime": "08-03 14:51:57",
"describe": "订单详情(充值代币)",
"subject": "微信支付1元",
"icon": "https://pic.4399it.com/group1/M00/00/3D/wKg-1F8ovaCAau7JAAAZTIzFl6U844.png",
"state": "已完成"
},
{
"ctime": "08-03 14:51:43",
"describe": "订单详情(充值代币)",
"subject": "微信支付1元",
"icon": "https://pic.4399it.com/group1/M00/00/3D/wKg-1F8ovaCAau7JAAAZTIzFl6U844.png",
"state": "已完成"
},
{
"ctime": "08-03 14:50:30",
"describe": "订单详情(充值代币)",
"subject": "微信支付1元",
"icon": "https://pic.4399it.com/group1/M00/00/3D/wKg-1F8ovaCAau7JAAAZTIzFl6U844.png",
"state": "已完成"
},
{
"ctime": "08-03 14:50:03",
"describe": "订单详情(充值代币)",
"subject": "微信支付1元",
"icon": "https://pic.4399it.com/group1/M00/00/3D/wKg-1F8ovaCAau7JAAAZTIzFl6U844.png",
"state": "已完成"
},
{
"ctime": "07-31 16:23:13",
"describe": "订单详情(充值代币)",
"subject": "支付宝支付1元",
"icon": "https://pic.4399it.com/group1/M00/00/3D/wKg-1F8ovaCAfpXOAAAzKowR8kk827.png",
"state": "已完成"
},
{
"ctime": "07-31 15:56:42",
"describe": "订单详情(充值代币)",
"subject": "支付宝支付1元",
"icon": "https://pic.4399it.com/group1/M00/00/3D/wKg-1F8ovaCAfpXOAAAzKowR8kk827.png",
"state": "已完成"
}
]
}
}
云游戏 - 用户游戏时间列表 (064)
编号 : 64
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|
返回值
{
"status": 1,
"msg": "获取数据成功",
"data": {
"list": [
{
"type_string": "每日免费时长",
"time_string": "2020-08-03 23:59:59",
"time": 3247
},
{
"type_string": "代币兑换时长",
"time_string": "2020-08-03 23:59:59",
"time": 600
},
{
"type_string": "购买时长",
"time_string": "",
"time": 0
}
]
}
}
云游戏 - 充值项列表 (063)
编号 : 064
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|
返回值
{
"status": 1,
"msg": "OK",
"data": {
"list": [
{
"type": 1,//1-5:固定充值金额。 6:自定义
"title": "1000代币", //标题
"subtitle": "10元",//自标题
"amount": 10,
"is_first": -1//是否首充
}
]
}
}
云游戏 - 应用配置数据新版(63)
编号 : 63
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| device_id | string | Y | 设备号 | |
| device_type | int | Y | 设备类型 1:iPhone 2:android | |
| device_version | string | Y | v1.1 | |
| u | string | N | 用户校验位 | |
| token | string | N | 用户校验位 | |
| app_name | string | Y | com.game.c | |
| app_id | string | Y | appid |
返回值
{
"status": 1,
"msg": "OK",
"data": {
"systemMessage": 12,
"award": 2,
"searchTerm": [],
"list": [
{
"id": "11",
"title": "青少年模式",
"sort": "89"
}
],
"config_data": {
"details": "",
"feedback_qq": "12345678",
"ad_limit": "20",
"free_time": "60",
"common_avatar": "https://pic.4399it.com/group1/M00/00/16/wKg-1F7CI22APM2LAABZ6Yzku8k275.png",
"privacy_policy": "",
"contact_1": "客服QQ:123456789",
"contact_2": "QQ群:6666666",
"title": "不氪游戏",
"coin_details": "1.代币是不氪游戏的虚拟货币,可以通过任务,活动和充值获得。
2.通过充值获取的代币,100代币=1元。
3.代币可以在语音房中购买礼物赠送给喜欢的人。还可以在商城中购买代币专属加时卡和道具装扮等。
4.消费时,优先使用账户中的其他代币余额,其他代币为0后,扣除充值代币余额。",
"icon": "https://pic.4399it.com/group1/M00/00/05/wKg-1F58B8eAZHazAAAPStRg0ss945.png",
"recharge_service": "400-633-2233",
"rank_show": "1",
"live_standard": "",
"destructionNotice": "5pqC5peg5pWw5o2u",
"ss_url": "ws://192.168.62.234:9501/sso",
"rule_url": "http://app.cgame.com/?r=web&m=goods&ac=explanation", //充值规则地址
"consumer_hotline": "400-633-2233"。//充值客服电话
"default_layout": "Iyucx5dKLr+Kk"//默认按键
}
}
}
备注
@property (nonatomic, assign) NSInteger status;//状态 @property (nonatomic, copy) NSString *msg;//提示语 @property (nonatomic, strong) Data *data;//返回数据集合 @interface Data : NSObject @property (nonatomic, assign) NSInteger systemMessage;//系统消息数量 @property (nonatomic, assign) NSInteger award;//可获取奖励数量 @property (nonatomic, strong) NSArray<NSString *> *searchTerm;//搜索数据集合 @property (nonatomic, strong) NSArray<List *> *list;//menu列表 @interface List : NSObject @property (nonatomic, assign) NSInteger id;//menuid @property (nonatomic, copy) NSString *title;//标题 @property (nonatomic, assign) NSInteger state;//预留 @property (nonatomic, assign) NSInteger type;//页面类型 @end
云游戏 - 获取任务详情(063)
编号 : 063
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | Y | 任务id |
返回值
{
"status": 1,
"msg": "成功",
"data": {
"id": "31",
"type": "7",
"title": "绑定手机",
"task_type": "2",
"reward_type": 1,
"reward_value": "100",
"icon_id": "7",
"task_value": "0",
"user_value": "0",
"task_status": "2"
}
}
云游戏 - 获取广告详情(062)
编号 : 62
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 广告类型,1:任务-视频激励广告,2:临时VIP-视频激励广告 |
返回值
{
"status": 1,
"msg": "关键信息错误",
"data": {
"id": "2",//广告id
"title": "临时VIP-视频激励广告1",
"type": "2",
"advert_id": "2",//广告位
"show_num": "222"
}
}
云游戏 - 退出游戏队列(061)
编号 : 61
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | Y | 广告id |
返回值
{
"status": -100,
"msg": "请求成功",
"data": null
}
云游戏 - 观看广告结束 (061)
编号 : 061
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | Y | 广告id |
返回值
{
"status": -100,
"msg": "请求成功",
"data": null
}
云游戏-游戏专题数据(060)
编号 : 60
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | Y | 第三方账号 本站id | |
| currentPage | int | N | 当前页面 | |
| pageSize | int | N | 每页显示数量 | |
| type | int | Y | 1:原专题数据格式 2:新专题数据个数 |
返回值
{
"status": 1,
"msg": "ok",
"data": {
"name": "新专题测试1",
"cover": "0",
"intro": "0",
"list": [{
"id": "65",
"title": "模板二",
"type": "2",
"jump_type": "1",
"jump_url": "",
"more": "0",
"list": []
},
{
"id": "64",
"title": "模板一",
"type": "1",
"jump_type": "1",
"jump_url": "",
"more": "0",
"list": [
{
"id": "391",
"title": "普通的鹿",
"img": "http://pic.buke999.com/group1/M00/00/40/wKgUiGDAetCINRrqAAFJn0XlOcEAAAXYQCMbU0AAUm3331.jpg",
"jump_type": "1",
"jump_url": "1"
}
]
}
]
}
}
{
"status": 1,
"msg": "获取成功",
"data": {
"list": [
{
"id": "11",
"img": "http://newsimg.5054399.com/uploads/userup/2003/20161R3Y24.jpg",
"title": "云顶之弈",
"subtitle": "",
"mid": "1",
"target_type": "1",
"target_url": "26"
}
],
"title": "那些熟悉的游戏",
"otherTitle": "其他推荐",
"otherList": [
{
"id": "15",
"img": "http://newsimg.5054399.com/uploads/userup/2003/201619505001.jpg",
"title": "王者荣耀",
"subtitle": "",
"mid": "3",
"target_type": "1",
"target_url": "26"
}
]
}
}
云游戏 - 第三方账号解除绑定 (059)
编号 : 59
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | Y | 第三方账号 本站id |
返回值
{
"status": -100,
"msg": "解除绑定失败",
"data": 10001
}
云游戏 - 第三方账号绑定 (058)
编号 : 58
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | string | Y | qq,sina,wx | |
| openid | string | Y | ||
| access_token | string | Y |
返回值
{
"status": 1,
"msg": "获取成功",
}
云游戏 - 获取用户绑定数据 (057)
编号 : 57
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|
返回值
{
"status": 1,
"msg": "获取成功",
"data": {
"list": [
{
"type": "mobile",//数据类型
"avatar": "",//头像框
"nickname": "18650494444",//用户昵称
"status": 1,//状态 1:已绑定 -1:未绑定
"is_now": "1",//是否当前登入账号 -1:否 1:是
"uid": "51",//用户uid
“id”:1//绑定id
}
]
}
}
云游戏 - 排行榜数据(056)
编号 : 56
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 排行榜类型 1:用户游戏时间 2:游戏的游戏时间 3:房间的游戏时间 | |
| time_type | int | Y | 1:日榜 2:周版 |
返回值
{
"status": 1,
"msg": "获取数据成功",
"data": {
"list": [
{
"id": "24758",
"img": "",
"name": "和平金鹰1",
"tag": "蝙蝠侠:阿卡姆骑士",
"value": 12,
"info": {
"pwd_type": "1",//是否开启密码 -1:否。1: 是
}
}
}
],
"time": "2020-05-252020-05-31"
}
}
云游戏 - 游戏数据记录(056)
编号 : 056
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| gid | int | Y | 游戏id | |
| rid | int | N | 房间id | |
| type | int | Y | 1:其他位置启动游戏 2:开黑房间启动游戏 |
返回值
{
"status": 1, // -10用户游戏时长为0
"msg": "请求成功",
"data": {
"user_time" : 240 //用户剩余游戏时间 : -1 关键数据丢失 0:用户游戏时间不足 -19:房间号不存在
"addicted":{
"title":"",//弹窗标题
“forced_offline”: -1 //是否需要退出游戏 -1 :否 1:是
}
}
}
云游戏 - 获取游戏大厅详情(055)
编号 : 55
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| rid | int | Y | 1 | 游戏大厅id |
返回值
{
"status": 1,
"msg": "获取数据成功",
"data": {
"rid": "3",
"title": "12123",
"icon_url": "http://b-ssl.duitang.com/uploads/item/201804/18/20180418185826_skjbx.jpg",
"gid": null,
"online_num": 0,
"room_url": "ws://192.168.62.234:9501/sala?&rid=3",
"scope": 0
}
}
备注
"msx_scope": 0.70068//当前排序值, "rid": "2",//房间id "title": "12123",//房间名称 "icon_url": "123",//图片地址 "gid": "0",//游戏id "img": "http://pic.4399it.com/111",//开黑房间头像 “online_num” : 11;//在线人数 "room_url": ""//房间socket地址
云游戏 - 开黑房间搜索(054)
编号 : 54
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| rid | int | Y | 房间id |
返回值
{
"status": 1,
"msg": "查询成功",
"data": {
"gid": "1",
"title": "房间2",
"rid": "1000821",
"type": "2",
"popularity": "231",
"people": "123123",
"system_msg": "123",
"uid": "4",
"user_info": {
"uid": "4",
"sex": "0",
"status": "1",
"mobile": "18649721148",
"logintime": "2020-03-05 16:09:31",
"avatar_box": "",
"nickname": "帅哥",
"avatar": "https://pic.4399it.com/group1/M00/00/05/wKg-1F58B8eAZHazAAAPStRg0ss945.png",
"sign": "",
"old_nickname": "",
"old_avatar": "",
"old_sign": "",
"avatar_status": "0",
"nickname_status": "0",
"sign_status": "0",
"muted_status": -1,
"has_teeny": -1,
"level": 0,
"real_name": "",
"id_card": "",
"has_destruction": -1,
"history": [],
"is_manager": 1,
"openid": "10004",
"game_time": "16分",
"card_number": "",
"child_status": 0,
"badge": [],
"coin": 0
},
"muted_time": 0,
"ban_time": "999999",
"is_band": -1,
"is_in": 0,
"pwd_type": "-1",
"id": "2",
"welcome_msg": "",
"online_num": 0,
"game_title": "蝙蝠侠:阿卡姆骑士",
"img": "https://pic.4399it.com/group1/M00/00/05/wKg-1F58B8eAZHazAAAPStRg0ss945.png"
}
}
云游戏 - 开黑房间禁言(053)
编号 : 53
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| uid | int | Y | 用户uid | |
| time | int | Y | 封禁时间(分) | |
| rid | int | Y | 房间id | |
| type | int | Y | 3 | type 3: 房管禁言用户 |
返回值
{
"status": 1,
"msg": "成功",
"data": null
}
云游戏 - 开黑房间获取其他用户信息(052)
编号 : 52
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| uid | int | Y | 用户uid | |
| rid | int | N | 房间号 |
返回值
{
"status": 1,
"msg": "获取用户信息成功",
"data": {
"uid": "3",
"sex": "0",
"avatar": "",
"status": "1",
"mobile": "18650494479",
"nickname": "",
"logintime": "2020-03-22 20:23:45",
"old_nickname": "",
"nickname_status": "0",
"old_avatar": "",
"avatar_box": "",//用户头像框
"avatar_status": "0",
"sign": "",
"old_sign": "",
"sign_status": "0",
"has_teeny": -1,
"real_name": "",
"id_card": "",
"has_destruction": -1,
"history": [
{
"id": 1,
"title": "测试姓名1",
"img": "",
"tag": -1,
"color": "",
"jumpId": "",
"status": " ",
"subtitle": " "
},
{
"id": 27,
"title": "我的朋友佩德罗",
"img": "",
"tag": -1,
"color": "",
"jumpId": "",
"status": " ",
"subtitle": " "
}],
“muted_status”:-1,//用户禁言状态 -1:正常 1:禁言中
"level": 0,
"game_time": "0年0天 0小时16分",//用户剩余时长
"is_manager": 1,
"openid": "10003"
}
}
备注
"uid": "3",//用户uid
"sex": "0",//性别:0未知1男2女
"avatar": "",// '头像地址',
"status": "1",
"mobile": "18650494479",//用户绑定手机号
"nickname": "",//用户昵称
"logintime": "2020-03-22 20:23:45",//登入时间
"old_nickname": "",
"nickname_status": "0",// '昵称审核状态 0:没有审核的状态 1:待审核 2:审核通过 3:审核未通过 4:已检查',
"old_avatar": "",
"avatar_box": "",//用户头像框
"avatar_status": "0",// '头像审核状态 0:没有审核的状态 1:待审核 2:审核通过 3:审核未通过 4:已检查',
"sign": "",//个性签名
"old_sign": "",
"sign_status": "0", '个性签名审核状态 0:没有审核的状态 1:待审核 2:审核通过 3:审核未通过 4:已检查',
"has_teeny": -1,//是否有设置青少年模式密码
"real_name": "",
"id_card": "",
"has_destruction": -1,//是否已申请注销游戏
"history": [],//历史游玩游戏ID集合
"is_manager": 1,//是否管理员
"level": 0,//用户等级
"game_time": "0年0天 0小时16分",//用户游戏剩余时长
"child_status": 0,//0:未成年 1:满16周
"openid": "10003"//用于语音房注册
“muted_status”:-1,//用户禁言状态 -1:正常 1:禁言中
云游戏 - 移除直播间用户(051)
编号 : 51
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| rid | int | Y | 房间号 | |
| uid | int | Y | 被移除用户uid |
返回值
{
"status": 1,
"msg": "移除用户成功",
"data": "1"
}
云游戏 - 获取分享配置信息(050)
编号 : 50
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 房间号分享类型,1:我的分享,2:游戏分享,3:语言房分享,4:游戏大厅分享 5联机房 | |
| share_id | int | Y | 分享id(游戏id/房间id/大厅id,根据type判断;用于获取替换名 |
返回值
{
"status": 1,
"msg": "获取成功",
"data": {
"id": "7",
"title": "模板3,游戏名《蝙蝠侠:阿卡姆骑士》",//标题
"describe": "11",//描述
"pic_url": "https://pic.4399it.com/group1/M00/00/05/wKg-1F58B8eAZHazAAAPStRg0ss945.png",//分享图标
"link": "https://www.4399.com"//跳转链接
}
}
云游戏 - 开黑房间用户列表(049)
编号 : 49
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| rid | int | Y | 房间号 |
返回值
{
"status": 1,
"msg": "获取用户成功",
"data": [
{
"uid": "18",
"sex": "0",
"mobile": "13659426886",
"avatar_box": "",
"nickname": "33614225",
"avatar": "https://pic.4399it.com/group1/M00/00/05/wKg-1F58B8eAZHazAAAPStRg0ss945.png",
"sign": "",
"muted_status": -1,
"has_teeny": -1,
"level": 0,
"has_destruction": -1,
"is_manager": 1,
"openid": "100018",
"role_type": -1,//游客 -1 管理员 1 房主 2
"in_mike": -1//是否在麦上-1:否 1:是
}
]
}
云游戏 - 设置开黑房间管理员(048)
编号 : 48
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| rid | int | Y | 房间号 | |
| uid | int | Y | 被设置管理员用户uid | |
| type | int | Y | 设置类型 1:管理员 -1:取消管理员 |
返回值
{
"status": -100,
"msg": "参数错误 -2",
"data": null
}
云游戏 - 获取直播间详情(047)
编号 : 47
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| rid | int | Y | 房间号 | |
| pwd | int | Y | 房间密码 |
返回值
{
"status": 1,
"msg": "获取信息成功",
"data": {
"gid": "1",//游戏id(本站)
"title": "名称",(房间名称)
"rid": "1000021",//房间号
"type": "1",//房间类型 '模式 1:娱乐模式 2:比赛模式',
"popularity": "2311",//热度
"people": "12312",
"system_msg": "系统消息",
"uid": "4",//房主uid
“is_in”:-1,//主播是否在直播间。-1:不再。1:在
"user_info": {//房主详情
"uid": "4",
"sex": "0",
"status": "1",
"mobile": "18649721148",
"logintime": "2020-03-05 16:09:31",
"avatar_box": "",
"nickname": "帅哥",
"avatar": "https://pic.4399it.com/group1/M00/00/05/wKg-1F58B8eAZHazAAAPStRg0ss945.png",
"sign": "",
"old_nickname": "",
"old_avatar": "",
"old_sign": "",
"avatar_status": "0",
"nickname_status": "0",
"sign_status": "0",
"has_teeny": -1,
"level": 0,
"real_name": "",
"id_card": "",
"has_destruction": -1,
"history": [],
"is_manager": 1,
"openid": "10004",
"game_time": "16分",
"card_number": "",
"child_status": 0,
"badge": [],
"coin": 0
},
"muted_time": "1",
"is_muted": -1,//是否禁言
"ban_time": 0,
"is_manager": -1,//是否管理员-1:否 1:是 2:房主
"user_num": 0,//房间人数
"url": "ws://192.168.62.234:9501/index?rid=1000021",//房间链接信息
"game_info": {
"id": 1,
"title": "蝙蝠侠:阿卡姆骑士",
"img": "https://pic.4399it.com/group1/M00/00/0D/wKg-1F6hW8eAehFIAAAPRB5umzo708.jpg",
"tag": -1,
"color": "",
"jumpId": "123456",
"gid": "123456",
"status": " ",
"subtitle": " ",
"isPublish": "1"
},
"pwd_type": "-1"//房间是否开启密码 -1:关闭 1:开启',
"pwd":"11112"//房间密码
}
}
云游戏 - 校验版本数据(046)
编号 : 46
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|
返回值
{
"status": 1,
"msg": "获取成功",
"data": {
"id": "2",
"name": " 云游戏1.0.2",//版本名称
"is_remind": "-1",//是主动提醒,1:是,-1:否
"is_mandatory": "-1",//是否强制更新,1:是,-1:否
"version": "1.0.2",//版本号
"size": "7.91",//包大小(mb)
"update_link": "group1/M00/00/05/wKg-1F58B8eAZHazAAAPStRg0ss945.png",//更新包地址
"msg": "13213
131
哈哈哈",//更新日志
"is_update": -1//是否需要更新,1:需要更新,-1:不需要更新
}
}
云游戏 - 开黑房间礼物购买(045)
编号 : 45
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | Y | 物品id | |
| number | int | Y | 购买数量 | |
| rid | int | Y | 房间id | |
| uid | int | N | 发送对应的用户uid |
返回值
{
"status":1,
"msg":"购买成功",
"data":{
"coin":"1550",//用户剩余硬币
"num":1//兑换数量
}
}
云游戏 - 用户背包(044)
编号 : 44
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 2:头像框 3:称号 |
返回值
{
"status": 1,
"msg": "获取成功",
"data": {
"list": [
{
"id": "5",//
"sort": "888",
"goods_pic": "https://pic.4399it.com/group1/M00/00/04/wKg-1F5UewOATfg_AACaQRGsUBQ86.jpeg",//图片
"goods_bg": "group1/M00/00/0B/wKg-1F6Cv9-AZ2R3AANxltHJowc836.jpg",//背景
"goods_name": "添加测试",//商品名称
"title": "添加测试",//商品标题
"type": "2",//
"attribute": "3",
"price": "1",
"end_time": "2120-04-21 15:45:14",
"status": 1,
"show_status": 1,//物品状态 -1:未穿戴。1:已穿戴
"condition": "累计消耗代币 1 "
}
]
}
}
云游戏 - 直播间礼物列表(043)
编号 : 43
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|
返回值
{
"status": 1,
"msg": "获取成功",
"data": [
{
"id": "1",
"title": "礼物1",//礼物名称
"image": "https://pic.4399it.com/group1/M00/00/04/wKg-1F5UewOATfg_AACaQRGsUBQ86.jpeg",//礼物图片
"trends_image": "https://pic.4399it.com/group1/M00/00/04/wKg-1F5UewOATfg_AACaQRGsUBQ86.jpeg",/特效图片
"is_trentds": "2",//是否存在动图:0:不是 1是',
"price": "1",//'礼物价格',
"gain_time": 0,
"max_num": 0,
"popularity": 0
“buy_num”:"11"
}
]
}
云游戏 - 商品购买(042)
编号 : 42
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | Y | 商品id |
返回值
{"status":1,"msg":"OK","data":1}
云游戏 - 获取道具详情(041)
编号 : 41
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | Y | 商品id |
返回值
{
"status": 1,
"msg": "获取成功",
"data": {
"id": "2",
"sort": "10",
"goods_pic": " ",
"goods_bg": " ",
"goods_name": "头像1",
"title": "头像1",
"type": "2",//商品类型 1:道具 2装扮
"attribute": "2",//道具类型 1:加时卡,2:头像框,3:称号',
"price": "1", //花费银币
"end_time": "2020-04-21 16:24:13",//结束时间
"status": -1,//不可兑换 1:可兑换 2:已领取
"condition": "100 代币
"pay_url": "https://XXXXXXX"
游戏时长增加1小时, 仅限2020-04-21 16:24:13前有效"//兑换条件
"user_value": "403",//用户值
"condition": "300 代币 游戏时长增加1小时,仅限2020-05-29 17:36:26前有效", //①【兑换条件】
"describe": "游戏时长增加1小时"。 //,②【功能说明】
"Redemption": "每日仅限兑换一次", //③【兑换次数】
"end_time_string": "2020-05-29 17:36:26前", ////④【兑换截止日期】
"active": "",//⑤【使用期限】
}
}
云游戏 - 个性装扮列表(040)
编号 : 40
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 2 | 1:道具 2:装扮 |
返回值
{
"status": 1,
"msg": "获取信息成功",
"data": {
"avatar_title": "头像框",//模块名称
"avatar_list": [
{
"id": "2",//模块id
"sort": "10",
"goods_pic": " ",//商品图片
"goods_bg": " ",//商品背景
"goods_name": "头像1",//商品名称
"title": "头像1",//商品标题
"type": "2",
"attribute": "2",
"price": "1",
"end_time": "2020-04-21 16:24:13"
}
],
"rank_title": "称号",
"rank_list": [
{
"id": "3",
"sort": "",
"goods_pic": " ",
"goods_bg": " ",
"goods_name": "称号1",
"title": "称号1",
"type": "2",
"attribute": "3",
"price": "2",
"end_time": "2020-04-25 16:26:12"
}
]
}
}
云游戏 - 道具商品列表(039)
编号 : 39
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 1:道具 2:装扮 3:游戏中商品 |
返回值
{
"status": 1,
"msg": "获取信息成功",
"data": {
"list": [
{
"id": "8",
"sort": 1587773361284,
"goods_pic": "https://pic.4399it.com//group1/M00/00/0E/wKg-1F6lWKiAHslMAACpNAsPFvY287.png",
"goods_bg": "",
"goods_name": "每日加时卡",
"title": "每日加时卡",
"type": "1",
"attribute": "1",
"price": "300",
"end_time": "2020-05-29 17:36:26",
"is_info": -1,
"status": -1,
"uid": 0,
"pay_url": "https://XXXXXXX"
"time_type": "游戏时长增加1小时",
"condition": "300 代币 游戏时长增加1小时,仅限2020-05-29 17:36:26前有效", //①【兑换条件】
"describe": "游戏时长增加1小时"。 //,②【功能说明】
"Redemption": "每日仅限兑换一次", //③【兑换次数】
"end_time_string": "2020-05-29 17:36:26前", ////④【兑换截止日期】
"active": "",//⑤【使用期限】
"subtitle": "游戏时长增加1小时
仅限2020-05-29 17:36:26前有效"
}
]
}
}
云游戏 - 获取用户等级(038)
编号 : 38
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|
返回值
{
"status": 1,
"msg": "success",
"data": {
"start": "Lv3",//起始等级
"end": "Lv4",//结束等级
"now": "2",//当前等级
"value": "500",//等级经验
"gap_value": 300,//经验差
"user_value": "200"//用户当前经验
}
}
云游戏 - 开黑游戏历史记录(037)
编号 : 37
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|
返回值
{
"status": 1,
"msg": "OK",
"data": {
"list": [
{
"id": 1,
"title": "测试姓名1",
"img": "http://image.biaobaiju.com/uploads/20180803/23/1533308846-puvstXHjBc.jpg",
"tag": -1,
"color": "",
"jumpId": "",
"status": " ",
"subtitle": " ",
"isPublish": "2"
},
{
"id": 27,
"title": "我的朋友佩德罗",
"img": "http://newsimg.5054399.com/uploads/userup/2003/121036433D9.jpg",
"tag": -1,
"color": "",
"jumpId": "111",
"status": " ",
"subtitle": " ",
"isPublish": "2"
}
]
}
}
云游戏 - 开黑房间menu列表(036)
编号 : 36
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|
返回值
{
"status": 1,
"msg": "OK",
"data": {
"list": [
{
"id": 99999,
"title": "热门",
"sort": 99999
},
{
"id": 9,
"title": "射击游戏",
"sort": 91
},
{
"id": 12,
"title": "动作游戏",
"sort": 88
},
{
"id": 13,
"title": "沙盒游戏",
"sort": 87
},
{
"id": 14,
"title": "休闲游戏",
"sort": 86
},
{
"id": 15,
"title": "单机游戏",
"sort": 85
},
{
"id": 16,
"title": "网游",
"sort": 84
},
{
"id": 17,
"title": "手游",
"sort": 83
},
{
"id": 18,
"title": "页游",
"sort": 82
},
{
"id": 19,
"title": "街机",
"sort": 81
}
]
}
}
云游戏 - 创建开黑房间(034)
编号 : 35
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| gid | int | Y | 游戏id | |
| type | int | Y | '模式 1:娱乐模式 2:比赛模式', | |
| title | string | Y | 房间标题 | |
| welcome | string | Y | 欢迎语句 | |
| pwd_type | int | Y | 房间是否开启密码 -1:关闭 1:开启', | |
| pwd | string | N | 房间密码 |
返回值
{
"status": 1,
"msg": "添加房间成功",
"data": {
"gid": "1",
"title": "和平金鹰1",
"rid": "71249",
"type": "1",
"popularity": 0,
"people": 0,
"system_msg": "日志正常",
"uid": "6",
"user_info": {
"uid": "6",
"sex": "0",
"status": "1",
"mobile": "18650494477",
"logintime": "2020-04-27 16:03:25",
"avatar_box": "https://pic.4399it.com/group1/M00/00/04/wKg-1F5XcgiASf9-AABO74XcKgo748.jpg",
"nickname": "逗不1",
"avatar": "https://pic.4399it.com/group1/M00/00/0B/wKg-1F6Cv9-AZ2R3AANxltHJowc836.jpg",
"sign": "",
"old_nickname": "逗不1",
"old_avatar": "",
"old_sign": "",
"avatar_status": "0",
"nickname_status": "0",
"sign_status": "0",
"has_teeny": -1,
"level": 0,
"real_name": "*心",
"id_card": "350****021",
"has_destruction": -1,
"history": [],
"is_manager": 1,
"openid": "10006",
"game_time": "16分",
"card_number": "35040219910215201X",
"child_status": 0,
"badge": [],
"coin": "602"
},
"muted_time": 0,
"ban_time": 0,
"is_manager": 2,
"pwd": "1233",
"user_num": 0,
"url": "ws://192.168.62.234:9501/index?rid=71249",
"game_info": {
"id": 1,
"title": "蝙蝠侠:阿卡姆骑士",
"img": "https://pic.4399it.com/group1/M00/00/0D/wKg-1F6hW8eAehFIAAAPRB5umzo708.jpg",
"tag": -1,
"color": "",
"jumpId": "123456",
"gid": "123456",
"status": " ",
"subtitle": " ",
"isPublish": "1"
},
"pwd_type": "1"
}
}
云游戏 - 常用问题列表(033)
编号 : 34
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 1:一般问题。2:游戏中常见问题 |
返回值
{
"status": 1,
"msg": "获取成功",
"data": {
"list": [
{
"sort": "9999",
"title": "如何获取代币?",//标题
"is_show": "1",
"content": "MTIzMTMx"//内容-> 用于点击查看详情
}
]
}
}
云游戏 - 获取用户硬币数量(033)
编号 : 33
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|
返回值
{"status":1,"msg":"u83b7u53d6u6210u529f","data":1}
云游戏 - 公共参数(032)
编号 : 32
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| app_name | string | Y | ||
| app_version | string | Y | ||
| device_name | string | Y | ||
| device_system_version | string | Y | ||
| device_type | int | Y | 1:android | |
| token | string | Y | ||
| u | string | Y | ||
| teen | int | Y | -1:普通模式 1:青少年模式 | |
| device_uuid | string | Y | 用户设备号 |
云游戏 - 聊天室/大厅聊天数据(031)
编号 : 31
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| currentPage | int | N | 0 | 当前所在页面 |
| pageSize | int | N | 10 | 每页显示数量 |
| score | string | Y | 0 | 排序值 |
| rid | int | Y | 房间id |
返回值
{
"status": 1,
"msg": "成功",
"data": {
"list": [
{
"category": "normal",
"data": {
"sentTime": 1594808029000,
"msg": "11111",
"userInfo": {
"uid": "94",
"nickname": "简伯言90",
"avatar": "https://pic.4399it.com/group1/M00/00/1E/wKg-1F7h9tmAHGufAABg41P88fs215.png",
"avatar_box": "https://pic.4399it.com/group1/M00/00/04/wKg-1F5XcgiASf9-AABO74XcKgo748.jpg"
}
},
"score": 1594808029986000
},
{
"category": "invite",
"data": {
"sentTime": 1594808017311,
"rid": "17917",
"uid": "17",
"pwd_type": "-1",
"userInfo": {
"uid": "94",
"nickname": "简伯言90",
"avatar": "https://pic.4399it.com/group1/M00/00/05/wKg-1F58B8eAZHazAAAPStRg0ss945.png",
"avatar_box": "https://pic.4399it.com/group1/M00/00/04/wKg-1F5XcgiASf9-AABO74XcKgo748.jpg"
},
"gameInfo": {
"title": "我的朋友佩德罗(页游)",
"img": "http://newsimg.5054399.com/uploads/userup/2003/121036433D9.jpg"
}
},
"score": 1594808017312600
}
],
"score": 1594808017312600
}
}
云游戏 - 开黑房间游戏列表(030)
编号 : 30
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | Y | menu id | |
| currentPage | int | N | 0 | 当前所在页面 |
| pageSize | int | N | 10 | 每页显示数量 |
返回值
{
"status": 1,
"msg": "OK",
"data": {
"list": [
{
"id": 29,//游戏id
"title": "112121",//游戏名称
"img": "https://pic.4399it.com/group1/M00/00/05/wKg-1F58B8eAZHazAAAPStRg0ss945.png",//游戏图片
"tag": -1,//标签
"color": "",//标签颜色
"jumpId": "112",//第三方游戏id
"status": " ",
"subtitle": " ",
"isPublish": "1"
},
{
"id": 30,
"title": "這個是測試的",
"img": "https://pic.4399it.com/group1/M00/00/05/wKg-1F58B8eAZHazAAAPStRg0ss945.png",
"tag": -1,
"color": "",
"jumpId": "803",
"status": " ",
"subtitle": " ",
"isPublish": "1"
}
]
}
}
云游戏 - 获取开黑房间游戏列表menu(029)
编号 : 29
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|
返回值
{
"status": 1,
"msg": "OK",
"data": {
"list": [
{
"id": 99999,//模块id
"title": "热门",//名称
"sort": 99999
},
{
"id": "9",
"title": "射击游戏",
"sort": "91"
},
{
"id": "12",
"title": "动作游戏",
"sort": "88"
},
{
"id": "13",
"title": "沙盒游戏",
"sort": "87"
},
{
"id": "14",
"title": "休闲游戏",
"sort": "86"
},
{
"id": "15",
"title": "单机游戏",
"sort": "85"
},
{
"id": "16",
"title": "网游",
"sort": "84"
},
{
"id": "17",
"title": "手游",
"sort": "83"
},
{
"id": "18",
"title": "页游",
"sort": "82"
},
{
"id": "19",
"title": "街机",
"sort": "81"
}
]
}
}
云游戏 - 完成任务(028)
编号 : 28
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | Y | 任务id | |
| type | int | Y | 任务类型 |
返回值
{
"status": 1,
"msg": "成功",
"data":
{
"list": [
{
"day": 1,//第一天
"status": "-1",//-1:未签到 1:已签到
"type": 1
"value": 1//奖励值
}
],
"coin": 1,//银币数量
"today": 1,//今天可领取数量
"today_status": -1,//领取状态
"tomorrow": 2//明天可领取数量,
'task_message':'限时活动,奖励翻倍,现已领取10贝壳'
}
}
云游戏 - 任务列表(027)
编号 : 27
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|
返回值
{
"status": 1,
"msg": "获取成功",
"data": {
"coin":100,
"task_sign": {
"list": [
{
"day": 1,//第一天
"status": "-1",//-1:未签到 1:已签到
"type": 1
"value": 1//奖励值
}
],
"coin": 1,//银币数量
"today": 1,//今天可领取数量
"today_status": -1,//领取状态
"tomorrow": 2//明天可领取数量
},
"task_day": [//日常任务
{
"id": "6",
"type": "4",
"title": "测试任务",
"task_type": "1",
"reward_type": "1",
"reward_value": "100",
"icon_id": "2",
"task_value": "100",
"user_value": "100",
"task_status": "-1"
}
],
"task_growing": [//成长任务
{
"id": "5",
"type": "2",// '任务类型 1:新手大礼包,登录即可领取 2:完善个人信息(昵称、性别、头像
"title": "12",日常任务1",//任务标题
"task_type": "2",
"reward_type": "",",//'奖励类型 -1:无奖励 1:银币 2:游戏时间',
"reward_value": "11",// '奖励值',
"icon_id": "1",//标签id
"task_value": "121",//任务需要执行数量
"user_value": "121",//用户已执行任务数
"task_status": "-1"//任务状态 -1:未完成 1:可完成 2:已领取
}
]
}
}
云游戏 - 开黑房间举报(026)
编号 : 26
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | '1:政治、色情等敏感信息 2:骂人、说脏话、人身攻击 3:散播虚假广告、诈骗、诱导 4:刷屏捣乱5:赌博6:其他原因 ', | |
| text | string | Y | 反馈内容 | |
| rid | string | Y | 房间number | |
| file[0] | file | Y | 截图文件 | |
| file[1] | file | Y |
云游戏 - 游戏预约 (025)
编号 : 25
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| gid | string | Y | 游戏本站id |
返回值
{
"status": 1,
"msg": "预约成功",
"data": null
}
云游戏 - 官方消息详情(024)
编号 : 24
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| url | string | Y | 消息id |
返回值
{
"status": 1,
"msg": "获取数据成功",
"data": {
"title": "3",//标题
"sub_title": "3",'//子标题,
“time”:"30秒前"//发布时间
“conten”:""//富文本内容base64 加密
“from”:“官方”//发布者名称
}
}
云游戏 - 官方消息列表(023)
编号 : 23
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| score | string | Y | 0 | 排序值 |
| currentPage | int | Y | 0 | 当前页面 |
| pageSize | int | N | 每页显示数量 |
返回值
{
"status": 1,
"msg": "获取数据成功",
"data": {
"score": 3,
"list": [
{
"title": "3",
"sub_title": "3",
“type”:1 //转跳类型-1:无选择1:游戏详情 2:发现详情 3:活动详情 4:任务详情 5:商品详情 6:游戏大厅聊天室 7:开黑房间 8:外链 9:文本信息',
“url”:“1”
“time”:"30秒前"
"read_status": "1",
"score": 3
},
]
}
}
云游戏 - 获取用户设备号(022)
编号 : 22
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| imei | string | N | imei | |
| device_uuid | string | N | device_uuid | |
| android_id | string | N | 安卓id | |
| mac | string | N | 网卡地址 |
返回值
{
"status": 1,
"msg": "获取设备信息成功",
"data": “112121sasdasd”//设备号
}
{
"status": -100,
"msg": "设备信息错误",
"data": null
}
云游戏 - 青少年模式忘记密码(021)
编号 : 21
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| mobile | string | Y | 用户手机号 | |
| mobile_code | string | Y | 验证码 | |
| device_uuid | string | Y | 设备uuid |
返回值
{
"status": 1,
"msg": "青少年模式修改成功",
"data": null
}
{
"status": -100,
"msg": "青少年模式修改错误",
"data": null
}
云游戏 - 校验用户是否认证 (020)
编号 : 20
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 1 | 1:身份认证是否通过 2:青少年模式是否开启 3:校验用户是否已经申请注销 |
返回值
{
"status": 1,
"msg": "获取数据成功",
"data": -1
}
备注
"status": 1, //返回状态
"msg": "获取数据成功",//返回提示信息
"data": -1 //认证状体 -1 :尚未认证 1:已认证
云游戏 - 启动游戏(019)
编号 : 18
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| gid | int | Y | 4 | 游戏id |
| nid | int | N | 节点id | |
| type | int | N | 1 | 1:普通节点 2:vip节点 |
返回值
{
"status": 1,
"msg": "加入队列成功:1",
"data": {
"vip_level": 0 ,// 1:普通用户 2:vip用户
"status": 1,//1进入阿里云游戏界面。-1:进行用户排队
"seat": 0//用户排队->用户还需要等待几位用户
"region": "cn-beijing",
"name":"北京地区",//节点名称
"show_ad" : -1 ,//是否显示广告按钮 -1:不显示 1:显示
“show_card”: -1;// 是否显示实名认证窗口。-1:不显示 1:显示
"addicted" :{
"title":"",//提示文案
"forced_offline": -1 //是否需要退出游戏 -1: 不需要强制下线 1:需要强制下线
}
}
}
云游戏 - 获取发现详情(018)
编号 : 17
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | N | 4 | 获取游戏数量 |
返回值
{
"status": 1,
"msg": "数据获取成功",
"data": {
"id": "2",
"title": "人类一败涂地",
"type": "2",
"tag": "",
"color": "#ffffff",
"short_desc": "",
"img": "213",
"target": "1",
"geme_info": {
"id": 1,
"title": "测试姓名1",
"img": "",
"tag": -1,
"color": "",
"jumpId": "",
"status": " ",
"subtitle": " "
},
"detailed_desc": "",
"from": "",
"time": "02-24 13:48",
"read_num": "5",
"tag_text": "热门",
"tag_color": "#FF4D4D"
}
}
备注
"id": "1",//发现页面id
"title": "人类一败涂地",//标题
"type": 1,//1:线上游戏 2:想玩游戏 3:文章咨询
"tag": "",//标签
"color": "#ffffff",//颜色
"short_desc": "",//简介
"target": "1",//跳转地址url,当跳转地址存在的时候跳转外链
"img": "123",//图片地址
"detailed_desc": ""//发现页面详情
"from": "",//发布小编信息
"time": “02-24 16:21",//发布时间
"read_num": 3"//阅读量
"geme_info": {//游戏详情
"id": 1,
"title": "测试姓名1",
"img": "",
"tag": -1,
"color": "",
"jumpId": "",
"status": " ",
"subtitle": " "
},
云游戏 - 获取发现页列表(017)
编号 : 16
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|
返回值
{
"status": 1,
"msg": "获取数据成功",
"data": {
"list": [
{
"id": "31",
"title": "人类一败涂地 —— 好友开黑 鬼畜解谜",
"type": "1",
"short_desc": "由史莱姆形态丧尸指导动作的大型鬼畜解谜现场!单人玩,趣味解谜成就满满;多人开黑,撕逼扯皮鬼畜协作!",
"img": "",
"target": "1",
"target_type": "1",
"geme_info": {
"id": 1,
"title": "蝙蝠侠:阿卡姆骑士",
"img": "https://pic.4399it.com/group1/M00/00/0D/wKg-1F6hW8eAehFIAAAPRB5umzo708.jpg",
"tag": -1,
"color": "",
"jumpId": "123456",
"gid": "123456",
"game_id": "1",
"status": " ",
"subtitle": " ",
"take_off": "-1",
"isPublish": "1"
},
"tag_text": "联机",
"tag_color": "#FF7916",
"tag_url": "http://app.cgame.com/XXXXXXX.jpg"
},
{
"id": "4",
"title": "测试222",
"type": "4",
"short_desc": "99999",
"img": "23",
"target": "2",
"target_type": "-1",
"geme_info": [],
"tag_text": "必玩",
"tag_color": "#B649FC"
},
{
"id": "26",
"title": "那些熟悉的游戏",
"type": "3",
"short_desc": "",
"img": "",
"target": "12412415",
"target_type": "-1",
"geme_info": [],
"tag_text": "必玩",
"tag_color": "#B649FC"
},
{
"id": "29",
"title": "蔚蓝",
"type": "3",
"short_desc": "11111",
"img": "",
"target": "111",
"target_type": "-1",
"geme_info": [],
"tag_text": "资讯",
"tag_color": "#00C63E"
},
{
"id": "1",
"title": "人类一败涂地",
"type": "1",
"short_desc": "",
"img": "123",
"target": "1",
"target_type": "1",
"geme_info": {
"id": 1,
"title": "蝙蝠侠:阿卡姆骑士",
"img": "https://pic.4399it.com/group1/M00/00/0D/wKg-1F6hW8eAehFIAAAPRB5umzo708.jpg",
"tag": -1,
"color": "",
"jumpId": "123456",
"gid": "123456",
"game_id": "1",
"status": " ",
"subtitle": " ",
"take_off": "-1",
"isPublish": "1"
},
"tag_text": "",
"tag_color": "#ffffff"
},
{
"id": "23",
"title": "那些熟悉的游戏",
"type": "5",
"short_desc": "",
"img": "",
"target": "124",
"target_type": "-1",
"geme_info": [],
"tag_text": "活动",
"tag_color": "#00A5FF"
},
{
"id": "20",
"title": "云顶之弈1111",
"type": "2",
"short_desc": "",
"img": "12313",
"target": "123123",
"target_type": "-1",
"geme_info": null,
"tag_text": "推荐",
"tag_color": "#00A5FF"
},
{
"id": "25",
"title": "那些熟悉的游戏",
"type": "5",
"short_desc": "1313",
"img": "1241515",
"target": "14214",
"target_type": "-1",
"geme_info": [],
"tag_text": "新游",
"tag_color": "#00C63E"
},
{
"id": "24",
"title": "那些熟悉的游戏",
"type": "4",
"short_desc": "",
"img": "",
"target": "124",
"target_type": "1",
"geme_info": [],
"tag_text": "热门",
"tag_color": "#FF4D4D"
},
{
"id": "19",
"title": "云顶之弈",
"type": "1",
"short_desc": "124",
"img": "",
"target": "11111",
"target_type": "-1",
"geme_info": null,
"tag_text": "热门",
"tag_color": "#FF4D4D"
}
]
}
}
备注
"id": "31", //发现id
"title": "人类一败涂地 —— 好友开黑 鬼畜解谜",//发现标题
"type": "1",//类型id,1:线上游戏 2:想玩游戏 3:文章咨询,4:专题,5:活动',
"short_desc": "由史莱姆形态丧尸指导动作的大型鬼畜解谜现场!单人玩,趣味解谜成就满满;多人开黑,撕逼扯皮鬼畜协作!",//简介
"img": "",//图片地址
"target": "1",//发现跳转数据 (id/rul)
"target_type": "1",//'、跳转类型 1:跳转ID -1:外链
"geme_info": {//游戏详情
"id": 1,
"title": "蝙蝠侠:阿卡姆骑士",
"img": "https://pic.4399it.com/group1/M00/00/0D/wKg-1F6hW8eAehFIAAAPRB5umzo708.jpg",
"tag": -1,
"color": "",
"jumpId": "123456",
"gid": "123456",
"game_id": "1",
"status": " ",
"subtitle": " ",
"take_off": "-1",
"isPublish": "1"
},
"tag_text": "联机",//标签文字
"tag_color": "#FF7916"//标签颜色
"tag_url": "http://app.cgame.com/XXXXXXX.jpg" //标签链接
云游戏 - 获取热门游戏列表(016)
编号 : 016
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| num | int | N | 4 | 获取游戏数量 |
返回值
{
"status": 1,
"msg": "获取数据成功",
"data": {
"top_list": [
{
"id": 1,
"title": "测试姓名1",
"img": "",
"tag": -1,
"color": "",
"jumpId": "",
"status": " ",
"subtitle": " "
}
]
}
}
备注
"id": 27,//游戏id
"title": "我的朋友佩德罗",//游戏名称
"img": "",//图片地址
"tag": -1,//标签
"color": "",//标签底色
"jumpId": "",//第三方游戏id
云游戏-获取开黑房间(015)
编号 : 15
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 2 | 2:开黑房间 |
| pageSize | int | Y | 每页显示数量 | |
| scope | int | Y | 0 | 校验值 |
返回值
{
"status": 1,
"msg": "获取参数成功",
"data": {
"msx_scope": 3647985202553,
"room_list": [
{
"id": "1",/
"gid": "1",//游戏id
"title": "名称",
"welcome_msg": "",//欢迎id
"rid": "1000021",//房间号码
"type": "1",//房间类型
"popularity": "2311",//人气
"people": "12312",//在线人数
"pwd_type": -1,//是否需要密码显示
"uid": "4",//房主uid
"online_num": 0,//在线人数
"game_title": "娱乐",
"is_in": 0,//房主是否在线
"room_number": "100000",// 房间号===》用于页面显示
"scope": 3647985202553,//
"sort": 0,//排序值
"img": "https://pic.4399it.com/group1/M00/00/05/wKg-1F58B8eAZHazAAAPStRg0ss945.png"//图片
}
]
}
}
备注
"id": "7", "gid": "1",//游戏id “rid”:"1111"//房间号 "title": "房间1",//房间名称 "room_number": "100000",// 房间号===》用于页面显示 "welcome_msg": "",//欢迎语 "number": "7777",//房间号 "type": "1",//1:娱乐模式 2:比赛模式 "popularity": "231", "is_in": 0,//1:房主在房间 0 :房主不在房间 "people": "123123", "uid": "4",//创建着id "game_title": "测试姓名1",//游戏名称 "online_num": 0,//在线人数 "room_url": "ws:192.168.36.134:9501?&rid=7777&gid=1" "img": "http://pic.4399it.com/111",//房间头像 "pwd_type": 1, //开黑房间是否开启密码-1:否 1:是
云游戏-获取游戏大厅列表(014)
编号 : 014
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 1 | 1:游戏大厅间列表 2:开黑房间 |
| pageSize | int | N | 10 | 每页显示数量 |
| scope | string | N | 房间数值 |
返回值
{
"status": 1,
"msg": "获取参数成功",
"data": {
"msx_scope": 0.70068,
"hall_list": [
{
"rid": "3",
"title": "12123",
"icon_url": "http://b-ssl.duitang.com/uploads/item/201804/18/20180418185826_skjbx.jpg",
"gid": null,
"online_num": 0,
"room_url": "ws://192.168.62.234:9501/sala?&rid=3",
"scope": 28.96144
},
{
"rid": "2",
"title": "12123",
"icon_url": "http://b-ssl.duitang.com/uploads/item/201804/18/20180418185826_skjbx.jpg",
"gid": null,
"online_num": 36,
"room_url": "ws://192.168.62.234:9501/sala?&rid=2",
"scope": 28.96144
},
{
"rid": "5",
"title": "12123",
"icon_url": "http://b-ssl.duitang.com/uploads/item/201804/18/20180418185826_skjbx.jpg",
"gid": null,
"online_num": 1,
"room_url": "ws://192.168.62.234:9501/sala?&rid=5",
"scope": 0.93424
},
{
"rid": "4",
"title": "2",
"icon_url": "http://b-ssl.duitang.com/uploads/item/201804/18/20180418185826_skjbx.jpg",
"gid": null,
"online_num": 0,
"room_url": "ws://192.168.62.234:9501/sala?&rid=4",
"scope": 0.70068
}
]
}
}
备注
"msx_scope": 0.70068//当前排序值, "rid": "2",//房间id "title": "12123",//房间名称 "icon_url": "123",//图片地址 "gid": "0",//游戏id "img": "http://pic.4399it.com/111",//开黑房间头像 “online_num” : 11;//在线人数 "room_url": ""//房间socket地址
云游戏-用户反馈(013)
编号 : 013
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 1:应用优化建议 2:新增游戏 3:游戏体验 4:画面问题 5:游戏问题 6:投诉 7:其他问题 | |
| text | string | Y | 反馈内容 | |
| tel | string | Y | 联系方式 | |
| file | file | Y | 截图文件 |
云游戏-注销账户(012)
编号 : 012
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 1:申请注销账号 2:申请取消注销账号 | |
| mobile | string | Y | ||
| mobile_code | string | Y |
返回值
{
"status": 1,
"msg": "注销账户已提交申请",
"data": null
}
云游戏-绑定手机号/身份证认证(012)
编号 : 012
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 1:身份证绑定 2:用户手机绑定 | |
| mobile | string | Y | 只在type = 1时候传 | |
| mobile_code | string | Y | 只在type = 1时候传 | |
| real_name | string | Y | 只在type = 2时候传 | |
| id_card | string | Y | 只在type = 2时候传 |
返回值
{
"status": -100,
"msg": "该账户已认证",
"data": null
}
云游戏-青少年模式开启(011)
编号 : 011
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 1:开启青少年模式 2:校验青少年模式密码 3:校验密码 | |
| pwd | string | Y | 密码 | |
| repwd | string | Y | 确认密码 | |
| device_uuid | string | Y | 设备号 | |
| old_pwd | string | N | 原始密码 |
返回值
{
"status": 1,
"msg": "青少年模式添加成功",
"data": null
}
{
"status": -100,
"msg": "密码不一致,请确认后重置",
"data": null
}
云游戏-获取用户信息(010)
编号 : 010
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 0:个人中心用户信息1:设置界面用户信息 | |
| uid | int | N | 用户uid |
返回值
{
"status": 1,
"msg": "获取用户信息成功",
"data": {
"uid": "3",
"sex": "0",
"avatar": "",
"status": "1",
"mobile": "18650494479",
"nickname": "",
"logintime": "2020-03-22 20:23:45",
"old_nickname": "",
"nickname_status": "0",
"old_avatar": "",
"avatar_box": "",//用户头像框
"avatar_status": "0",
"sign": "",
"old_sign": "",
"sign_status": "0",
"has_teeny": -1,
"real_name": "",
"id_card": "",
"has_destruction": -1,
"history": [
{
"id": 1,
"title": "测试姓名1",
"img": "",
"tag": -1,
"color": "",
"jumpId": "",
"status": " ",
"subtitle": " "
},
{
"id": 27,
"title": "我的朋友佩德罗",
"img": "",
"tag": -1,
"color": "",
"jumpId": "",
"status": " ",
"subtitle": " "
}],
"level": 0,
"game_time": "0年0天 0小时16分",//用户剩余时长
"is_manager": 1,
"openid": "10003",
"simulator_coin":0//模拟器用户游戏币
}
}
备注
"uid": "3",//用户uid
"sex": "0",//性别:0未知1男2女
"avatar": "",// '头像地址',
"status": "1",
"mobile": "18650494479",//用户绑定手机号
"nickname": "",//用户昵称
"logintime": "2020-03-22 20:23:45",//登入时间
"old_nickname": "",
"nickname_status": "0",// '昵称审核状态 0:没有审核的状态 1:待审核 2:审核通过 3:审核未通过 4:已检查',
"old_avatar": "",
"avatar_box": "",//用户头像框
"avatar_status": "0",// '头像审核状态 0:没有审核的状态 1:待审核 2:审核通过 3:审核未通过 4:已检查',
"sign": "",//个性签名
"old_sign": "",
"sign_status": "0", '个性签名审核状态 0:没有审核的状态 1:待审核 2:审核通过 3:审核未通过 4:已检查',
"has_teeny": -1,//是否有设置青少年模式密码
"real_name": "",
"id_card": "",
"has_destruction": -1,//是否已申请注销游戏
"history": [],//历史游玩游戏ID集合
"is_manager": 1,//是否管理员
"level": 0,//用户等级
"game_time": "0年0天 0小时16分",//用户游戏剩余时长
"child_status": 0,//0:未成年 1:满16周
"openid": "10003"//用于语音房注册
云游戏-游戏时间统计(009)
编号 : 009
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| gid | int | Y |
返回值
{
"status": 1,
"msg": "保存成功",
"data": null
}
云游戏-用户信息修改(008)
编号 : 008
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 1:修改用户昵称 2:修改用户头像 3:修改用户头像框(暂是无法设置) 4:修改用户个性签名 5:修改用户性别 | |
| nickname | string | N | type选择1时候必填 | |
| sign | string | N | type选择4时候必填 | |
| sex | int | N | type选择5时候必填,1男2女 | |
| avatar | file | N | type选择2时候必填 | |
| id | int | N | type选择1时候必填头像框id |
返回值
{
"status":-100,
"msg":"昵称审核中。。",
"data":null
}
备注
修改后重新请求用户信息:或者服务端提供返回数据,默认都没有返回数据
云游戏-用户登入/注册(007)
编号 : 007
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | string | Y | 类型:qq,wx,taobao,mobile,sina | |
| mobile | string | N | 手机号 | |
| openid | string | N | 第三方登入用户校验位 | |
| access_token | string | N | 第三方校验字符 | |
| mobile_code | string | N | 手机校验码 | |
| device_uuid | string | N | 用户设备号 | |
| device_token | string | N | 由盟用户数据 |
返回值
{
"status": 1,
"msg": "登入成功",
"data": {
"token": "f65a7983595ad38b0cfbc408144bd149",
"u": "C2hxHVYdXlgFRglRI09SEgpaVhQOU3ZJVEcJDQkSCFQiHA",
"loginData": { //差异登入数据集合
"last_data ": { //上次登入账号信息
"type": "qq",
"avatar": "http://thirdqq.qlogo.cn/g?b=oidb&k=8uhicIsicElbadL55nnShSvA&s=100&t=1557321587",
"nickname": "Tommy0",
"uid": "51"
},
"now_data": { //现在登入账号信息
"type": "qq",
"avatar": "http://thirdqq.qlogo.cn/g?b=oidb&k=SwCWlZeTsvgpl6ZNmtDiaBA&s=100&t=1555491049",
"nickname": "家乐娱大",
"uid": "24"
}
},
"userInfo": {
"uid": "3",
"sex": "0",
"avatar": "",
"status": "1",
"mobile": "18650494479",
"nickname": "",
"logintime": "2020-03-22 20:23:45",
"old_nickname": "",
"nickname_status": "0",
"old_avatar": "",
"avatar_box": "",
"avatar_status": "0",
"sign": "",
"old_sign": "",
"sign_status": "0",
"has_teeny": -1,
"real_name": "",
"id_card": "",
"has_destruction": -1,
"history": [{
"id": 1,
"title": "测试姓名1",
"img": "",
"tag": -1,
"color": "",
"jumpId": "",
"status": " ",
"subtitle": " "
},
{
"id": 27,
"title": "我的朋友佩德罗",
"img": "",
"tag": -1,
"color": "",
"jumpId": "",
"status": " ",
"subtitle": " "
}
],
"level": 0,
"is_manager": 1,
"child_status": 0, //0:未成年 1:满16周
"openid": "10003"
}
}
云游戏-发送手机短信(006)
编号 : 006
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| type | int | Y | 1 | 请求类型默认1 |
| mobile | string | Y | 18600000 | 手机号 |
返回值
{
"status": 1,
"msg": "发送成功",
"data": {
}
}
云游戏-游戏主页列表(005)
编号 : 005
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | N | ||
| currentPage | int | N | 0 | 当前 |
| pageSize | int | N | 4 | 每个item显示数量 |
返回值
{
"status": 1,
"msg": "OK",
"data": {
"banner": [
{
"img": "http://newsimg.5054399.com/uploads/userup/2003/201441296339.jpg",
"title": "",
"id": "19",
"subtitle": "",
"target_type": "4",//跳转类型 1游戏 2 发现页 3专题 4外链',
"target_url": "34qq"//跳转地址 or 跳转id {只在外链下进行地址跳转}
}
],
"list": [
{
"id": 1,
"title": "云游戏本期推荐",
"sort": 99,
"isShow": 0,
"type": 1,
"more": -1,
"jump_type": 0,//跳转类型1 游戏详情 2发现详情 3 专题 4 外部链接 5活动详情 6任务详情 7商品详情 8游戏大厅聊天室 9开黑房间
"jump_url": "",
"pageSize": 4,
"totalCount": 4,
"currentPage": 0,
"list": [
{
"title": "西普大陆",
"img": "http://newsimg.5054399.com/uploads/userup/2003/201441296339.jpg",
"tag_text": "推荐",
"tag_color": "#00A5FF",
"jump_type": "1",//跳转类型1 游戏详情 2发现详情 3 专题 4 外部链接 5活动详情 6任务详情 7商品详情 8游戏大厅聊天室 9开黑房间
"jump_url": "26"//跳转地址/id
}
]
},
{
"id": 2,
"title": "今日热推",
"sort": 98,
"isShow": 0,
"type": 2,
"more": -1,
"jump_type": 0,
"jump_url": "",
"pageSize": 4,
"totalCount": 4,
"currentPage": 0,
"list": [
{
"title": "王者荣耀",
"img": "http://newsimg.5054399.com/uploads/userup/2003/2015154A463.jpg",
"tag_text": "",
"tag_color": "#FFFFFF",
"jump_type": "1",
"jump_url": "26"
},
{
"title": "奥奇传说",
"img": "http://newsimg.5054399.com/uploads/userup/2003/2015343433C.jpg",
"tag_text": "",
"tag_color": "#FFFFFF",
"jump_type": "1",
"jump_url": "26"
}
]
},
{
"id": 3,
"title": "精选用专题广告",
"sort": 97,
"isShow": 0,
"type": 3,
"more": -1,
"jump_type": 0,
"jump_url": "",
"pageSize": 4,
"totalCount": 1,
"currentPage": 0,
"list": [
{
"title": "那些熟悉的游戏",
"img": "http://newsimg.5054399.com/uploads/userup/2003/201523512035.jpg",
"tag_text": "",
"tag_color": "#FFFFFF",
"jump_type": "1",
"jump_url": ""
}
]
},
{
"id": 4,
"title": "菜鸡就别玩这些游戏啦",
"sort": 96,
"isShow": 0,
"type": 2,
"more": 1,
"jump_type": 0,
"jump_url": "",
"pageSize": 4,
"totalCount": 4,
"currentPage": 0,
"list": [
{
"title": "蔚蓝",
"img": "http://newsimg.5054399.com/uploads/userup/2003/20151ZOE9.jpg",
"tag_text": "",
"tag_color": "#FFFFFF",
"jump_type": "1",
"jump_url": "26"
},
{
"title": "空洞骑士",
"img": "http://newsimg.5054399.com/uploads/userup/2003/201519211P8.jpg",
"tag_text": "",
"tag_color": "#FFFFFF",
"jump_type": "1",
"jump_url": "26"
},
{
"title": "死亡细胞",
"img": "http://newsimg.5054399.com/uploads/userup/2003/201519504247.jpg",
"tag_text": "",
"tag_color": "#FFFFFF",
"jump_type": "1",
"jump_url": "26"
},
{
"title": "暗黑地牢",
"img": "http://newsimg.5054399.com/uploads/userup/2003/201520136395.jpg",
"tag_text": "",
"tag_color": "#FFFFFF",
"jump_type": "1",
"jump_url": "26"
}
]
},
{
"id": 29,
"title": "好友联机欢乐多",
"sort": 95,
"isShow": 0,
"type": 4,
"more": -1,
"jump_type": 0,
"jump_url": "",
"pageSize": 4,
"totalCount": 3,
"currentPage": 0,
"list": [
{
"title": "人类一败涂地",
"img": "http://newsimg.5054399.com/uploads/userup/2003/201532555124.jpg",
"tag_text": "",
"tag_color": "#FFFFFF",
"jump_type": "1",
"jump_url": "26"
},
{
"title": "实况足球2017",
"img": "http://newsimg.5054399.com/uploads/userup/2003/20153PCW9.jpg",
"tag_text": "",
"tag_color": "#FFFFFF",
"jump_type": "1",
"jump_url": "26"
},
{
"title": "胡闹厨房2",
"img": "http://newsimg.5054399.com/uploads/userup/2003/20153U2X07.jpg",
"tag_text": "",
"tag_color": "#FFFFFF",
"jump_type": "1",
"jump_url": "26"
}
]
},
{
"id": 5,
"title": "想玩什么你说了算",
"sort": 94,
"isShow": 0,
"type": 5,
"more": -1,
"jump_type": 0,
"jump_url": "",
"pageSize": 4,
"totalCount": 4,
"currentPage": 0,
"list": [
{
"title": "赛尔号",
"img": "http://newsimg.5054399.com/uploads/userup/2003/2015213955U.jpg",
"tag_text": "",
"tag_color": "#FFFFFF",
"jump_type": "1",
"jump_url": "26"
},
{
"title": "明日之后",
"img": "http://newsimg.5054399.com/uploads/userup/2003/20152232E92.jpg",
"tag_text": "",
"tag_color": "#FFFFFF",
"jump_type": "1",
"jump_url": "26"
},
{
"title": "模拟人生4",
"img": "http://newsimg.5054399.com/uploads/userup/2003/20152255GO.jpg",
"tag_text": "",
"tag_color": "#FFFFFF",
"jump_type": "1",
"jump_url": "26"
},
{
"title": "星露谷物语",
"img": "http://newsimg.5054399.com/uploads/userup/2003/201523094E4.jpg",
"tag_text": "",
"tag_color": "#FFFFFF",
"jump_type": "1",
"jump_url": "26"
}
]
}
],
"title": "云游戏本期推荐"
}
}
云游戏 - 游戏搜索(004)
编号 : 004
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| search | string | N | 搜索内容 | |
| pageSize | int | N | 每页显示数量 | |
| currentPage | int | N | 当前页面页数 | |
| type | int | Y | 1 | 1:联想 2:结果 |
返回值
type == 1
{
"status": 1,
"msg": "OK",
"data": {
"relatedWords": [
"测试姓名1"
]
}
}
type == 2
{
"status": 1,
"msg": "OK",
"data": {
"list": [
{
"id": "1",
"title": "测试姓名1",
"gameIntroduced": "Jmx0O3AmZ3Q7MTExMSZsdDtzdHJvbmcmZ3Q7MjIyJmx0O2VtJmd0OzMzMzQmbHQ7L2VtJmd0OyZsdDsvc3Ryb25nJmd0OyZsdDsvcCZndDs=",
"operaIntroduced": "Jmx0O3AmZ3Q7MTExJmx0O3N0cm9uZyZndDsyMjIyJmx0Oy9zdHJvbmcmZ3Q7Jmx0Oy9wJmd0Ow==",
"img": "pic.4399it.com/http://image.biaobaiju.com/uploads/20180803/23/1533308846-puvstXHjBc.jpg"
}
],
"totalCount": 1,
"currentPage": 0,
"pageSize": 10,
"more": -1
}
}
备注
@property (nonatomic, assign) NSInteger status;//返回状态 @property (nonatomic, copy) NSString *msg;//返回消息 @property (nonatomic, strong) Data *data;//返回数据 @class Data,List; @interface Data : NSObject @property (nonatomic, strong) NSArray<NSString *> *relatedWords;//联想搜索列表 @property (nonatomic, assign) NSInteger currentPage;//当前页面 @property (nonatomic, assign) NSInteger pageSize;//分页数量 @property (nonatomic, assign) NSInteger totalCount;//数据总数 @property (nonatomic, strong) NSArray<List *> *list;//查询结果列表 @end @interface List : NSObject @property (nonatomic, assign) NSInteger id;//id @property (nonatomic, copy) NSString *title;//标题 @property (nonatomic, copy) NSString *img;//图片地址 @property (nonatomic, assign) NSInteger type;//类型 1:游戏 2:模块 @property (nonatomic, assign) NSInteger jumpId;//跳转id @property (nonatomic, copy) NSString *subtitle;//子标题 @end
云游戏 - 获取游戏详情(003)
编号 : 003
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | Y | 游戏id | |
| screen | int | N | 1 | 1:小屏幕 2:大屏幕 |
返回值
{
"status": 1,
"msg": "OK",
"data": {
"id": 1,
"comment_status": "-2", -2:关闭评论 -1:隐藏模块 1:正常
"title": "造梦无双",
"subtitle": "Batman: Arkham Knight",
"gameIntroduced": "PHA+6J2Z6J2g5L6g77ya5a625Lus44CCPC9wPg==",
"operaIntroduced": "PHA+6buR5pqX6Imy6LCPC9wPg==",
"banner": [
{
"url": "http://clips.vorwaerts-gmbh.de/big_buck_bunny.mp4",
"type": "6",
"img": "https://pic.4399it.com/group1/M00/00/0D/wKg-1F6hWguAWP5eAAbFtR7HjHg029.jpg",
"title": "蝙蝠侠1"
}
],
"guide_list": {//游戏引导
"gid": 2,
"title": "测试添加游戏",//游戏引导标题
"show_state": 1,//是否主动显示游戏引导 -1:否 1:是
"list": [//图片列表
"https://pic.4399it.com/group1/M00/00/0E/wKg-1F6lW7iAOgtqAAAWCs1FWoE390.png",
"https://pic.4399it.com/group1/M00/00/0E/wKg-1F6lW7iAOgtqAAAWCs1FWoE390.png",
"https://pic.4399it.com/group1/M00/00/0E/wKg-1F6lW7iAOgtqAAAWCs1FWoE390.png",
"https://pic.4399it.com/group1/M00/00/0E/wKg-1F6lW7iAOgtqAAAWCs1FWoE390.png",
"https://pic.4399it.com/group1/M00/00/0E/wKg-1F6lW7iAOgtqAAAWCs1FWoE390.png",
"https://pic.4399it.com/group1/M00/00/0E/wKg-1F6lW7iAOgtqAAAWCs1FWoE390.png",
"https://pic.4399it.com/group1/M00/00/0E/wKg-1F6lW7iAOgtqAAAWCs1FWoE390.png"
]
}
"key_desc_url": "https://pic.4399it.com/group1/M00/00/2A/wKg-1F75o0GAI_mwAALQ9ckkRMc457.jpg",
"img": "https://pic.4399it.com/group1/M00/00/3E/wKg-1F8xHTuAILt8AAD_AvRiPQE750.jpg",
"tag": -1,
"color": "",
"jumpId": "G11nfwQ",
"gid": "1",
"game_id": "G11nfwQ",
"hall_id": 6,
"take_off": "-1",
"isPublish": "1",
"jump_type": 1,
"jump_url": 1,
"control_type": "1",
"queue_type": "1",
"region_list": [
{
"region": "huanan",
"name": "华南",
"nid": "1",
"client_num": "12",
"province_config": [
"11",
]
}
],
"book_status": false,
"button_layout": "Iyucx5dKLr+KkqYgVlVi7Bsi+Chn9Su244S4iUNZrc",
"is_refresh": -1,//是否开启刷新游戏功能 -1:关闭 1:开启
"game_type": 1 //游戏种类 1:云游戏(PC端),2:模拟器(街机
"emulator": {
"file_path": "XXXX",
"md5_str": "XXXX","
so_file_path": "XXXX",
"so_md5_str": "XXXX"
}
}
}
备注
@property (nonatomic, assign) NSInteger status;//返回状态 @property (nonatomic, copy) NSString *msg;//返回提示语 @property (nonatomic, strong) Data *data;//返回数据 @class Data,Share,Banner; @interface Data : NSObject @property (nonatomic, strong) NSArray<Banner *> *banner;//banner列表 @property (nonatomic, assign) NSInteger status;//游戏状态 -1:游戏关闭 1:游戏可启动。。。 @property (nonatomic, copy) NSString *gameIntroduced;//游戏介绍 @property (nonatomic, copy) NSString * key_desc_url;//按键说明 @property (nonatomic, copy) NSString *title;//游戏标题 @property (nonatomic, strong) Share *share;//分享配置数据 @property (nonatomic, copy) NSString *operaIntroduced;//操作介绍 @property (nonatomic, assign) NSInteger tag;// @property (nonatomic, assign) NSString color;// @end @interface Share : NSObject @property (nonatomic, copy) int *type;//分享类型 1:图片 2:地址 @property (nonatomic, copy) NSString *text;//分享文本内容(需要base64解密) @property (nonatomic, copy) NSString *url;//分享条状地址 @property (nonatomic, copy) NSString *icon;//分享图片地址 @property (nonatomic, copy) NSString *QRCode;//分享二维码地址 @end @interface Banner : NSObject @property (nonatomic, assign) NSInteger title;//banner标题 @property (nonatomic, copy) NSString *url;//地址(源地址 图片 or 视频) @property (nonatomic, copy) NSString *img;//显示图片地址 @property (nonatomic, assign) NSInteger type;//类型 5:图片 6:视频 @property (nonatomic, assign) NSString button_layout;//游戏按键位置 @property (nonatomic, assign) NSString file_path;//模拟器地址 @property (nonatomic, assign) NSString md5_str;//文件MD5值 @property (nonatomic, assign) NSString so_file_path;//模拟器地址 @property (nonatomic, assign) NSString so_md5_str;//文件MD5值 @property (nonatomic, assign) NSString game_type;//1 //游戏种类 1:云游戏(PC端),2:模拟器(街机 @end
云游戏 - 获取游戏列表(002)
编号 : 002
请求参数
| 参数名 | 参数类型 | 必传 | 缺省值 | 描述 |
|---|---|---|---|---|
| id | int | N | 模块名称默认为空为主页数据 | |
| currentPage | int | N | 0 | 当前页面 |
| pageSize | int | N | 10 | 返回分页显示数量 |
返回值
{
"status": 1,
"msg": "OK",
"data": {
"banner": [
{
"img": "http://newsimg.5054399.com/uploads/userup/2003/201441296339.jpg",
"title": "这个是测试",
"id": "2",
"subtitle": "",
"target_type": "1",
"target_url": "34"
},
{
"img": "http://newsimg.5054399.com/uploads/userup/2003/201441296339.jpg",
"title": "dd",
"id": "4",
"subtitle": "",
"target_type": "2",
"target_url": "34"
},
{
"img": "http://newsimg.5054399.com/uploads/userup/2003/201441296339.jpg",
"title": "dd244",
"id": "14",
"subtitle": "",
"target_type": "2",
"target_url": "34"
},
{
"img": "http://newsimg.5054399.com/uploads/userup/2003/201441296339.jpg",
"title": "dd33",
"id": "16",
"subtitle": "",
"target_type": "2",
"target_url": "34"
}
],
"list": [
{
"title": "刺客信条大革命",
"img": "http://newsimg.5054399.com/uploads/userup/2003/20154233FC.jpg",
"tag_text": "",
"tag_color": "#FFFFFF",
"jump_type": "1",
"jump_url": "1"
}
],
"otherList": [
{
"id": 1,
"title": "测试姓名1",
"img": "",
"tag": -1,
"color": "",
"jumpId": "",
"status": " ",
"subtitle": " "
}
],
"otherTitle": "其他推荐",
"title": "单机大作用专题广告"
}
}
备注
@property (nonatomic, assign) NSInteger status;//返回状态 @property (nonatomic, copy) NSString *msg;//返回提示信息 @property (nonatomic, strong) Data *data;//返回数据集合 @class Data,Banner,Otherlist,List; @interface Data : NSObject @property (nonatomic, copy) NSString *otherTitle;//其他模块推荐标题 @property (nonatomic, strong) NSArray<Otherlist *> *otherList;//其他游戏劣币阿婆 @property (nonatomic, copy) NSString *title;//模块tittle @property (nonatomic, strong) NSArray<List *> *list;//模块数据列 @property (nonatomic, strong) NSArray<Banner *> *banner;//广告位置 @end @interface Banner : NSObject @property (nonatomic, assign) NSInteger id;//模块id @property (nonatomic, assign) NSInteger title;//模块标题 @property (nonatomic, copy) NSString *img;//模块图片链接 @property (nonatomic, assign) NSInteger target_type;//模块类型1游戏 2 发现页 3专题 4外链', @property (nonatomic, copy) NSString *target_url;//跳转地址 @end @interface Otherlist List: NSObject property (nonatomic, assign) NSInteger id;//游戏id @property (nonatomic, assign) NSInteger title;//游戏标题 @property (nonatomic, copy) NSString *img;//游戏图片 @property (nonatomic, copy) NSString *subtitle;//游戏子标题 @property (nonatomic, assign) NSInteger jumpId;//第三方游戏id @property (nonatomic, assign) NSInteger type;//预留 @property (nonatomic, assign) NSInteger tag;//游戏标签-1 无标签 1:热门 2必玩 3推荐 4联机 5 新游 @property (nonatomic, assign) NSString color;//游戏颜色 @end