mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-15 23:13:32 +08:00
test(wxapi): 适配新的模型测试
This commit is contained in:
parent
c7f9b34aed
commit
e58b142a45
@ -0,0 +1,4 @@
|
||||
{
|
||||
"env": "test2-4a89da",
|
||||
"query": ""
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"id_list": [
|
||||
"be62d9c4-43ec-4dc6-8ca1-30b206eeed24",
|
||||
"0f4b8add5cdd728a003bf5c83ed99dff"
|
||||
]
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"env": "test2-4a89da",
|
||||
"query": "db.collection(\"test_collection\").aggregate().match({tags:\"cloud\"}).limit(10).end()"
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"data": [
|
||||
"{\"_id\":\"f77e039f-f1cf-4aa8-bd59-16cbaa91e6ea\",\"location\":{\"type\":\"Point\",\"coordinates\":[{\"$numberDouble\":\"113.0\"},{\"$numberDouble\":\"23.0\"}]},\"done\":false,\"description\":\"learn cloud database\",\"due\":\"2019-09-09\",\"tags\":[\"cloud\",\"database\"]}",
|
||||
"{\"_id\":\"6bb88938-49ea-42b6-a6f5-ce408970cfc6\",\"due\":\"2019-09-09\",\"tags\":[\"cloud\",\"database\"],\"location\":{\"type\":\"Point\",\"coordinates\":[{\"$numberDouble\":\"113.0\"},{\"$numberDouble\":\"23.0\"}]},\"done\":false,\"description\":\"学习 cloud database\"}",
|
||||
"{\"_id\":\"51f4f67e-a6a1-4c3e-a50f-827380b8da86\",\"description\":\"学习 cloud database\",\"due\":\"2019-09-09\",\"tags\":[\"cloud\",\"database\"],\"location\":{\"coordinates\":[{\"$numberDouble\":\"113.0\"},{\"$numberDouble\":\"23.0\"}],\"type\":\"Point\"},\"done\":false}",
|
||||
"{\"_id\":\"ee1d69da-b7ec-4e7a-bc1f-2fae31da4ce0\",\"tags\":[\"cloud\",\"database\"],\"location\":{\"type\":\"Point\",\"coordinates\":[{\"$numberDouble\":\"113.0\"},{\"$numberDouble\":\"23.0\"}]},\"done\":false,\"description\":\"学习 cloud database\",\"due\":\"2019-09-09\"}"
|
||||
]
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"env": "test2-4a89da",
|
||||
"collection_name": "test_add_collection"
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"env": "test2-4a89da",
|
||||
"collection_name": "test_delete_collection"
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"env": "test2-4a89da",
|
||||
"limit": 10,
|
||||
"offset": 0
|
||||
}
|
@ -0,0 +1,25 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"collections": [
|
||||
{
|
||||
"name": "geo",
|
||||
"count": 13,
|
||||
"size": 2469,
|
||||
"index_count": 1,
|
||||
"index_size": 36864
|
||||
},
|
||||
{
|
||||
"name": "test_collection",
|
||||
"count": 1,
|
||||
"size": 67,
|
||||
"index_count": 1,
|
||||
"index_size": 16384
|
||||
}
|
||||
],
|
||||
"pager": {
|
||||
"Offset": 0,
|
||||
"Limit": 10,
|
||||
"Total": 2
|
||||
}
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"env": "test2-4a89da",
|
||||
"query": "db.collection(\"geo\").where({done:true}).count()"
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"count": 3
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"env": "test2-4a89da",
|
||||
"query": "db.collection(\"geo\").where({done:false}).remove()"
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"deleted": 2
|
||||
}
|
@ -0,0 +1,6 @@
|
||||
{
|
||||
"env": "test2-4a89da",
|
||||
"file_path": "test_export",
|
||||
"file_type": 1,
|
||||
"query": "const Point = db.Geo.Point;db.collection(\\'geo\\').where({name: \\'x\\',age: _.gt(10).and(_.lt(20)),loc: new Point(113,23),array: [1,2]}).limit(10).skip(1).orderBy(\\'age\\',\\'asc\\').orderBy(\\'name\\', \\'desc\\').field({ name: true }).get()"
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"job_id": 100074947
|
||||
}
|
@ -0,0 +1,8 @@
|
||||
{
|
||||
"env": "qbasetest-a5c40e",
|
||||
"collection_name": "test1",
|
||||
"file_path": "test_import",
|
||||
"file_type": 1,
|
||||
"stop_on_error": false,
|
||||
"conflict_mode": 2
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"job_id": 100074947
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"env": "test2-4a89da",
|
||||
"job_id": 100071736
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"status": "success",
|
||||
"record_success": 3,
|
||||
"record_fail": 0,
|
||||
"error_msg": "导出完成.",
|
||||
"file_url": "https://tcb-mongodb-data-1254135806.cos.ap-shanghai.myqcloud.com/..."
|
||||
}
|
@ -0,0 +1,21 @@
|
||||
{
|
||||
"env": "test2-4a89da",
|
||||
"collection_name": "counters",
|
||||
"create_indexes": [
|
||||
{
|
||||
"name": "add_index",
|
||||
"unique": true,
|
||||
"keys": [
|
||||
{
|
||||
"name": "test",
|
||||
"direction": "2dsphere"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"drop_indexes": [
|
||||
{
|
||||
"name": "del_index"
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
Loading…
Reference in New Issue
Block a user