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,21 @@
{
"time": {
"end_timestamp": 1609689600,
"begin_timestamp": 1609603200
},
"module": "10022",
"params": [
{
"field": "networktype",
"value": "wifi"
},
{
"field": "device_level",
"value": "1"
},
{
"field": "device",
"value": "1"
}
]
}

View File

@@ -0,0 +1,47 @@
{
"errcode": 0,
"errmsg": "ok",
"data": {
"body": {
"tables": [
{
"id": "memorydiff",
"lines": [
{
"fields": [
{
"refdate": "20210103",
"value": "70.7778"
},
{
"refdate": "20210104",
"value": "72.0446"
}
]
}
],
"zh": "内存增长均值"
},
{
"id": "memory",
"lines": [
{
"fields": [
{
"refdate": "20210103",
"value": "314"
},
{
"refdate": "20210104",
"value": "302.3218"
}
]
}
],
"zh": "内存均值"
}
],
"count": 2
}
}
}

View File

@@ -0,0 +1,10 @@
{
"game_tick": 30,
"open_id_list": [ "OPENID" ],
"udp_reliability_strategy": 3,
"start_percent": 100,
"need_user_info": true,
"game_last_time": 1800,
"room_ext_info": "",
"need_game_seed": true
}

View File

@@ -0,0 +1,7 @@
{
"errcode": 0,
"errmsg": "ok",
"data": {
"access_info": "xxx"
}
}

View File

@@ -0,0 +1,19 @@
{
"errcode": 0,
"errmsg": "ok",
"data": {
"has_more": false,
"frame_list": [
{
"frame_id": 1,
"pkg_list": [
{
"open_id": "OPENID",
"action_list": [ "xxx", "xxx" ],
"b": false
}
]
}
]
}
}

View File

@@ -0,0 +1,12 @@
{
"errcode": 0,
"errmsg": "ok",
"data": {
"info_list": [
{
"client_id": 1,
"open_id": "OPENID"
}
]
}
}

View File

@@ -0,0 +1,14 @@
{
"is_comm_nearby": "1",
"kf_info": "{\"open_kf\":true,\"kf_headimg\":\"http://mmbiz.qpic.cn/mmbiz_jpg/kKMgNtnEfQzDKpLXYhgo3W3Gndl34gITqmP914zSwhajIEJzUPpx40P7R8fRe1QmicneQMhFzpZNhSLjrvU1pIA/0?wx_fmt=jpeg\",\"kf_name\":\"Harden\"}",
"pic_list": "{\"list\":[\"http://mmbiz.qpic.cn/mmbiz_jpg/kKMgNtnEfQzDKpLXYhgo3W3Gndl34gITqmP914zSwhajIEJzUPpx40P7R8fRe1QmicneQMhFzpZNhSLjrvU1pIA/0?wx_fmt=jpeg\",\"http://mmbiz.qpic.cn/mmbiz_jpg/kKMgNtnEfQzDKpLXYhgo3W3Gndl34gITRneE5FS9uYruXGMmrtmhsBySwddEWUGOibG8Ze2NT5E3Dyt79I0htNg/0?wx_fmt=jpeg\"]}",
"service_infos": "{\"service_infos\":[{\"id\":2,\"type\":1,\"name\":\"快递\",\"appid\":\"wx1373169e494e0c39\",\"path\":\"index\"},{\"id\":0,\"type\":2,\"name\":\"自定义\",\"appid\":\"wx1373169e494e0c39\",\"path\":\"index\"}]}",
"store_name": "羊村小马烧烤",
"contract_phone": "111111111",
"hour": "00:00-11:11",
"company_name": "深圳市腾讯计算机系统有限公司",
"credential": "156718193518281",
"address": "新疆维吾尔自治区克拉玛依市克拉玛依区碧水路15-1-8号(碧水云天广场)",
"qualification_list": "3LaLzqiTrQcD20DlX_o-OV1-nlYMu7sdVAL7SV2PrxVyjZFZZmB3O6LPGaYXlZWq",
"poi_id": ""
}

View File

@@ -0,0 +1,8 @@
{
"errcode": 0,
"errmsg": "ok",
"data": {
"audit_id": 416620525,
"poi_id": 112333
}
}

View File

@@ -0,0 +1,3 @@
{
"poi_id": "469382092"
}

View File

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

View File

@@ -0,0 +1,9 @@
{
"errcode": 0,
"errmsg": "",
"data": {
"left_apply_num": 9,
"max_apply_num": 10,
"data": "{\"poi_list\": [{\"poi_id\": \"123456\",\"qualification_address\": \"广东省广州市海珠区新港中路123号\",\"qualification_num\": \"123456789-1\",\"audit_status\": 3,\"display_status\": 0,\"refuse_reason\": \"\"}]}"
}
}

View File

@@ -0,0 +1,4 @@
{
"poi_id": "469382092",
"status": 1
}

View File

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

View File

@@ -0,0 +1,4 @@
{
"action": "dev_agree",
"appid": "aaaa"
}

View File

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

View File

@@ -0,0 +1,5 @@
{
"action": "dev_apply_list",
"page": 1,
"num": 10
}

View File

@@ -0,0 +1,21 @@
{
"errcode": 0,
"errmsg": "ok",
"apply_list": [
{
"appid": "xxxxxxxxxxxxx",
"status": 1,
"nickname": "名称",
"headimgurl": "**********",
"reason": "polo has gone",
"apply_url": "*******",
"create_time": "1536305096",
"categories": [
{
"first": "IT科技",
"second": "硬件与设备"
}
]
}
]
}

View File

@@ -0,0 +1,3 @@
{
"action": "dev_delete"
}

View File

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

View File

@@ -0,0 +1,4 @@
{
"action": "dev_refuse",
"reason": "refuse reason"
}

View File

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

View File

@@ -0,0 +1,5 @@
{
"action": "apply",
"plugin_appid": "aaaa",
"reason": "hello"
}

View File

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

View File

@@ -0,0 +1,3 @@
{
"action": "list"
}

View File

@@ -0,0 +1,12 @@
{
"errcode": 0,
"errmsg": "ok",
"plugin_list": [
{
"appid": "aaaa",
"status": 1,
"nickname": "插件昵称",
"headimgurl": "http://plugin.qq.com"
}
]
}

View File

@@ -0,0 +1,4 @@
{
"action": "unbind",
"plugin_appid": "aaaa"
}

View File

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

View File

@@ -0,0 +1,11 @@
{
"appid": "wx*******",
"openid": "*****",
"scene": 1,
"mobile_no": "12345678",
"bank_card_no": "******",
"cert_no": "*******",
"client_ip": "******",
"email_address": "***@qq.com",
"extended_info": ""
}

View File

@@ -0,0 +1,6 @@
{
"errcode": 0,
"errmsg": "getuserriskrank succ",
"risk_rank": 0,
"unoin_id": 123456
}

View File

@@ -0,0 +1,12 @@
{
"pages": [
{
"path": "pages/index/index",
"query": "userName=wechat_user"
},
{
"path": "pages/video/index",
"query": "vid=123"
}
]
}

View File

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

View File

@@ -0,0 +1,4 @@
{
"keyword": "微信",
"next_page_info": ""
}

View File

@@ -0,0 +1,21 @@
{
"errcode": 0,
"errmsg": "ok",
"items": [
{
"title": "<em class=\"highlight\">微信</em>版本更新!",
"description": "...今日,<em class=\"highlight\">微信</em>官方发布<em class=\"highlight\">微信</em>X.Y.Z版本...",
"image": "http://image.weixin.qq.com/1.jpeg",
"path": "pages/normal/index?id=20191210A0C29X00"
},
{
"title": "<em class=\"highlight\">微信</em>小程序发布新功能!",
"description": "<em class=\"highlight\">微信</em>小程序发布了XXX功能...",
"image": "http://image.weixin.qq.com/2.jpeg",
"path": "pages/normal/index?id=20191210A0C29X11"
}
],
"has_next_page": 1,
"hit_count": 100,
"next_page_info": "eyJwYWdlX3BhcmFtIjpbeyJzdWJzeXNfdHlwZSI6MTAsInNlcnZlcl9vZmZzZXQiOjAsInNlcnZlcl9saW1pdCI6MTIwLCJpbmRleF9zdGVwIjoyMCwiaW5kZXhfb2Zmc2V0IjoyMH1dLCJjbGllbnRfb2Zmc2V0IjowLCJjbGllbnRfbGltaXQiOjEwfQ=="
}

View File

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

View File

@@ -0,0 +1,4 @@
{
"media_url": "https://developers.weixin.qq.com/miniprogram/assets/images/head_global_z_@all.png",
"media_type": 2
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"trace_id": "967e945cd8a3e458f3c74dcb886068e9"
}

View File

@@ -0,0 +1,3 @@
{
"content": "hello world!"
}

View File

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

View File

@@ -0,0 +1,10 @@
{
"service": "wx79ac3de8be320b71",
"api": "OcrAllInOne",
"data": {
"img_url": "http://mmbiz.qpic.cn/mmbiz_jpg/7UFjuNbYxibu66xSqsQqKcuoGBZM77HIyibdiczeWibdMeA2XMt5oibWVQMgDibriazJSOibLqZxcO6DVVcZMxDKgeAtbQ/0",
"data_type": 3,
"ocr_type": 1
},
"client_msg_id": "id123"
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"data": "{\"idcard_res\":{\"type\":0,\"name\":{\"text\":\"abc\",\"pos\"…0312500}}},\"image_width\":480,\"image_height\":304}}"
}

View File

@@ -0,0 +1,3 @@
{
"key": [ "gold", "score" ]
}

View File

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

View File

@@ -0,0 +1,8 @@
{
"kv_list": [
{
"key": "1",
"value": 0
}
]
}

View File

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

View File

@@ -0,0 +1,12 @@
{
"kv_list": [
{
"key": "score",
"value": "100"
},
{
"key": "gold",
"value": "3000"
}
]
}

View File

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

View File

@@ -0,0 +1,13 @@
{
"path": "/pages/publishHomework/publishHomework",
"query": "",
"is_expire": true,
"expire_type": 1,
"expire_interval": 1,
"cloud_base": {
"env": "xxx",
"domain": "xxx.xx",
"path": "/jump-wxa.html",
"query": "a=1&b=2"
}
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"url_link": "URL Link"
}

View File

@@ -0,0 +1,8 @@
{
"jump_wxa": {
"path": "/pages/publishHomework/publishHomework",
"query": ""
},
"is_expire": true,
"expire_time": 1606737600
}

View File

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

View File

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

View File

@@ -0,0 +1,4 @@
{
"path": "page/index/index",
"width": 430
}

View File

@@ -0,0 +1,5 @@
{
"unionid": "oTmHYjg-tElZ68xxxxxxxxhy1Rgk",
"errcode": 0,
"errmsg": "ok"
}