test(wxapi): 适配新的模型测试

This commit is contained in:
Fu Diwei
2021-05-28 19:27:38 +08:00
parent dc78ea6577
commit 27cd4178e7
988 changed files with 11052 additions and 206 deletions

View File

@@ -0,0 +1,13 @@
{
"team_count": 2,
"team_member_count": 1,
"need_room_service_info": 1,
"game_room_info": {
"game_tick": 30,
"udp_reliability_strategy": 3,
"start_percent": 100,
"need_user_info": true,
"game_last_time": 1800,
"need_game_seed": true
}
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"match_id": "FD0PT4rKguEdK-L83RaJgdbchUCW8wjhSwgCku4CLQk"
}

View File

@@ -0,0 +1,3 @@
{
"match_id": "FD0PT4rKguEdK-L83RaJgdbchUCW8wjhSwgCku4CLQk"
}

View File

@@ -0,0 +1,21 @@
{
"errcode": 0,
"errmsg": "ok",
"match_rule_list": [
{
"match_id": "FD0PT4rKguEdK-L83RaJgdbchUCW8wjhSwgCku4CLQk",
"open_state": 0,
"team_count": 2,
"team_member_count": 1,
"need_room_service_info": 1,
"game_room_info": {
"game_tick": 30,
"udp_reliability_strategy": 3,
"start_percent": 100,
"need_user_info": true,
"game_last_time": 1800,
"need_game_seed": true
}
}
]
}

View File

@@ -0,0 +1,4 @@
{
"match_id": "FD0PT4rKguEdK-L83RaJgdbchUCW8wjhSwgCku4CLQk",
"open_state": 1
}

View File

@@ -0,0 +1,14 @@
{
"team_count": 3,
"team_member_count": 3,
"need_room_service_info": 1,
"match_id": "FD0PT4rKguEdK-L83RaJgdbchUCW8wjhSwgCku4CLQk",
"game_room_info": {
"game_tick": 30,
"udp_reliability_strategy": 3,
"start_percent": 100,
"need_user_info": true,
"game_last_time": 3600,
"need_game_seed": true
}
}

View File

@@ -0,0 +1,38 @@
{
"errcode": 0,
"errmsg": "ok",
"total": 1,
"room_info": [
{
"name": "直播房间名",
"roomid": 1,
"cover_img": "http://http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/Rl1RuuhdstSfZa8EEljedAYcbtX3Ejpdl2et1tPAQ37bdicnxoVialDLCKKDcPBy8Iic0kCiaiaalXg3EbpNKoicrweQ\/0?wx_fmt=jpeg",
"share_img": "http://http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/Rl1RuuhdstSfZa8EEljedAYcbtX3Ejpdl2et1tPAQ37bdicnxoVialDLCKKDcPBy8Iic0kCiaiaalXg3EbpNKoicrweQ\/0?wx_fmt=jpeg",
"live_status": 101,
"start_time": 1568128900,
"end_time": 1568131200,
"anchor_name": "里斯",
"goods": [
{
"cover_img": "http://http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/Rl1RuuhdstSfZa8EEljedAYcbtX3Ejpdl2et1tPAQ37bdicnxoVialDLCKKDcPBy8Iic0kCiaiaalXg3EbpNKoicrweQ\/0?wx_fmt=jpeg",
"url": "pages/index/index.html",
"name": "茶杯",
"price": 1889,
"price2": 0,
"price_type": 1,
"goods_id": 256,
"third_party_appid": "wx3d0fae56402d8a81"
}
],
"live_type": 0,
"close_like": 0,
"close_goods": 0,
"close_comment": 0,
"close_kf": 1,
"close_replay": 1,
"is_feeds_public": 0,
"creater_openid": "oawjt4t9NWZV2BYaEPA89sh1XblE",
"feeds_img": "XXX"
}
]
}

View File

@@ -0,0 +1,6 @@
{
"action": "get_replay",
"room_id": 354,
"start": 0,
"limit": 10
}

View File

@@ -0,0 +1,12 @@
{
"live_replay": [
{
"expire_time": 0,
"create_time": 0,
"media_url": ""
}
],
"errcode": 0,
"total": 1,
"errmsg": "ok"
}

View File

@@ -0,0 +1,20 @@
{
"followers": [
{
"openid": "openid1",
"subscribe_time": 1606270612,
"room_status": 101,
"room_id": 1
},
{
"openid": "openid2",
"subscribe_time": 1606270612,
"room_status": 101,
"room_id": 1
}
],
"page_break": 1606270612,
"errcode": 0,
"errmsg": "ok"
}

View File

@@ -0,0 +1,4 @@
{
"room_id": 1,
"user_openid": [ "openid1", "openid2" ]
}

View File

@@ -0,0 +1,5 @@
{
"message_id": "message_id",
"errcode": 0,
"errmsg": "ok"
}

View File

@@ -0,0 +1,5 @@
{
"product_id": 100000,
"device_id_list": [ "deviceid_1", "deviceid_2", "deviceid_3" ],
"model_name": "YOUR_MODEL_NAME"
}