mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-20 10:38:10 +08:00
feat(wxapi): 调整腾讯云服务 TCB 相关接口及模型的命名方式
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"env": "test-env-6gni9ity244a6ea3",
|
||||
"function_name": "echo",
|
||||
"delay_time": 10,
|
||||
"data": "{\"test\":true}"
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"push_tmpl": true
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"has_mobile": true
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"report_action": "sendSmsTask",
|
||||
"env_id": "xxx",
|
||||
"activity_id": "xxx",
|
||||
"task_id": "xxx",
|
||||
"phone_count": "12345",
|
||||
"channel_id": "xxx",
|
||||
"session_id": "xxx"
|
||||
}
|
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"task_url": "pages/index/index",
|
||||
"run_count": 100,
|
||||
"run_time": 100,
|
||||
"source_type": 9
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"pressure_id": 1038
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"env": "xxx",
|
||||
"file_url": "xxx"
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"query_id": "xxx"
|
||||
}
|
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"PostData": {
|
||||
"ExtensionFiles": [
|
||||
{
|
||||
"FileType": "SMS",
|
||||
"FileName": "gongzi.csv"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"Response": {
|
||||
"FilesData": [
|
||||
{
|
||||
"CodeUri": "extension://xxx.zip",
|
||||
"UploadUrl": "https://xxx",
|
||||
"CustomKey": "",
|
||||
"MaxSize": 30
|
||||
}
|
||||
],
|
||||
"RequestId": "83793d78-b90b-4b1e-9454-d7b4f5317f01"
|
||||
}
|
||||
}
|
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"PostData": {
|
||||
"StartDate": "2021-03-01",
|
||||
"EndDate": "2021-03-23",
|
||||
"EnvId": "xxx",
|
||||
"QueryId": "xxx",
|
||||
"PageNumber": 1,
|
||||
"PageSize": 20
|
||||
}
|
||||
}
|
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"Response": {
|
||||
"SmsRecords": [
|
||||
{
|
||||
"Content": "【XXX】XXX,跳转小程序 https://xxx/xxx 回T退订",
|
||||
"ContentSize": 51,
|
||||
"CreateTime": "2021-03-22 17:18:37",
|
||||
"Fee": 1,
|
||||
"Mobile": "+86xxxxxxxxxxx",
|
||||
"ReceivedTime": "2021-03-22 17:18:43",
|
||||
"Remarks": "用户短信接收成功",
|
||||
"Status": "sent"
|
||||
}
|
||||
],
|
||||
"TotalCount": 1,
|
||||
"RequestId": "bf34127a-35bd-48a2-86bb-ae583d2ff9ff"
|
||||
}
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"cloudid_list": ["xxx"]
|
||||
}
|
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"data_list": [
|
||||
{
|
||||
"cloud_id": "xxx",
|
||||
"json": {
|
||||
"cloudID": "xxx",
|
||||
"data": {
|
||||
"stepInfoList": [
|
||||
{
|
||||
"timestamp": 1603641600,
|
||||
"step": 1234
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"pressure_id": 1038
|
||||
}
|
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"report": {
|
||||
"blankpage_pencent": 0,
|
||||
"aver_time_cost": 3450,
|
||||
"max_time_cost": 5773,
|
||||
"total_launch_cnt": 36,
|
||||
"total_request_cnt": 72,
|
||||
"network_list": [
|
||||
{
|
||||
"path": "http://wx.cloud.callContainer",
|
||||
"aver_time_cost": 89,
|
||||
"max_time_cost": 141,
|
||||
"total_request_cnt": 36,
|
||||
"succ_percent": 100,
|
||||
"top_time_cost_list": [
|
||||
{
|
||||
"time_cost": 141
|
||||
},
|
||||
{
|
||||
"time_cost": 133
|
||||
},
|
||||
{
|
||||
"time_cost": 131
|
||||
}
|
||||
],
|
||||
"over_count": 0
|
||||
},
|
||||
{
|
||||
"path": "http://wx.cloud.callFunction.echo",
|
||||
"aver_time_cost": 67,
|
||||
"max_time_cost": 102,
|
||||
"total_request_cnt": 36,
|
||||
"succ_percent": 100,
|
||||
"top_time_cost_list": [
|
||||
{
|
||||
"time_cost": 102
|
||||
},
|
||||
{
|
||||
"time_cost": 94
|
||||
},
|
||||
{
|
||||
"time_cost": 91
|
||||
}
|
||||
],
|
||||
"over_count": 0
|
||||
}
|
||||
],
|
||||
"appid": "wx5a3f90aefe6d7eaf",
|
||||
"task_url": "pages/index/index",
|
||||
"run_time": 10,
|
||||
"pressure_id": 1066
|
||||
}
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"pressure_id": 1038
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"status": "Crawling",
|
||||
"beg_time": 1618906859,
|
||||
"end_time": 1618906869
|
||||
}
|
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"action": "smsMarketingOverviewData",
|
||||
"begin_date": 1614182400,
|
||||
"end_date": 1614268800,
|
||||
"page_offset": 0,
|
||||
"page_limit": 1000,
|
||||
"condition": {
|
||||
"env_id": "xxx",
|
||||
"activity_id": "xxx",
|
||||
"by_channel_id": 0,
|
||||
"channel_id": "xxx",
|
||||
"act_type": "h5"
|
||||
}
|
||||
}
|
@@ -0,0 +1,83 @@
|
||||
{
|
||||
"data_column": [
|
||||
{
|
||||
"col_id": "appid",
|
||||
"col_name": "小程序id",
|
||||
"col_data_type": "0"
|
||||
},
|
||||
{
|
||||
"col_id": "env_id",
|
||||
"col_name": "环境id",
|
||||
"col_data_type": "0"
|
||||
},
|
||||
{
|
||||
"col_id": "activity_id",
|
||||
"col_name": "活动id",
|
||||
"col_data_type": "0"
|
||||
},
|
||||
{
|
||||
"col_id": "channel_id",
|
||||
"col_name": "渠道",
|
||||
"col_data_type": "0"
|
||||
},
|
||||
{
|
||||
"col_id": "h5_open_uercnt",
|
||||
"col_name": "h5打开人数",
|
||||
"col_data_type": "1"
|
||||
},
|
||||
{
|
||||
"col_id": "jump_wxapp_uercnt",
|
||||
"col_name": "小程序跳转人数",
|
||||
"col_data_type": "1"
|
||||
},
|
||||
{
|
||||
"col_id": "sms_send_uercnt",
|
||||
"col_name": "短信下发人数",
|
||||
"col_data_type": "1"
|
||||
},
|
||||
{
|
||||
"col_id": "sms_send_list",
|
||||
"col_name": "下发记录数组",
|
||||
"col_data_type": "0"
|
||||
},
|
||||
{
|
||||
"col_id": "jump_wxapp_uercnt_percent",
|
||||
"col_name": "跳转人数渠道占比",
|
||||
"col_data_type": "2"
|
||||
},
|
||||
{
|
||||
"col_id": "h5_open_uercnt_percent",
|
||||
"col_name": "h5打开人数渠道占比",
|
||||
"col_data_type": "2"
|
||||
},
|
||||
{
|
||||
"col_id": "h5_sms_rate",
|
||||
"col_name": "短信到h5转化率",
|
||||
"col_data_type": "2"
|
||||
},
|
||||
{
|
||||
"col_id": "jump_h5_rate",
|
||||
"col_name": "h5到跳转转化率",
|
||||
"col_data_type": "2"
|
||||
}
|
||||
],
|
||||
"data_value": [
|
||||
{
|
||||
"data_value": [
|
||||
"xxxxxxxxxxxxxxxxxx",
|
||||
"wedcvfr",
|
||||
"21ded5cb6001691405171ba161c603d1",
|
||||
"_cms_sms_",
|
||||
"5000",
|
||||
"3000",
|
||||
"10000",
|
||||
"[task1:5000,task2:5000]",
|
||||
"0.535714",
|
||||
"0.625",
|
||||
"0.5",
|
||||
"0.6"
|
||||
]
|
||||
}
|
||||
],
|
||||
"total_num": 1
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"group_id": "xxx",
|
||||
"nonce": "yyy",
|
||||
"timestamp": 12312312312
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"signature": "xxxx"
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"env": "online-12345678910",
|
||||
"phone_number_list": ["+8612345678910"],
|
||||
"sms_type": "Marketing",
|
||||
"content": "发布了新的能力",
|
||||
"path": "/index.html",
|
||||
"template_id": "923584",
|
||||
"template_param_list": ["商品", "/index.html"]
|
||||
}
|
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"send_status_list": [
|
||||
{
|
||||
"serial_no": "8:gFIqWUHzllUyOFRHgeu20201231",
|
||||
"phone_number": "+8612345678910",
|
||||
"code": "Ok",
|
||||
"message": "send success",
|
||||
"iso_code": ""
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"env": "online-12345678910",
|
||||
"url_link": "https://wxaurl.cn/xxxxxx",
|
||||
"template_id": "844110",
|
||||
"template_param_list": ["能力上新"],
|
||||
"phone_number_list": ["+8612345678910"]
|
||||
}
|
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"send_status_list": [
|
||||
{
|
||||
"serial_no": "8:gFIqWUHzllUyOFRHgeu20201231",
|
||||
"phone_number": "+8612345678910",
|
||||
"code": "Ok",
|
||||
"message": "send success",
|
||||
"iso_code": ""
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"env": "test2-4a89da",
|
||||
"fileid_list": ["cloud://test2-4a89da.7465-test2-4a89da/A.png"]
|
||||
}
|
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"delete_list": [
|
||||
{
|
||||
"fileid": "cloud://test2-4a89da.7465-test2-4a89da/A.png",
|
||||
"status": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"env": "test2-4a89da",
|
||||
"file_list": [
|
||||
{
|
||||
"fileid": "cloud://test2-4a89da.7465-test2-4a89da/A.png",
|
||||
"max_age": 7200
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"file_list": [
|
||||
{
|
||||
"fileid": "cloud://test2-4a89da.7465-test2-4a89da/A.png",
|
||||
"download_url": "https://7465-test2-4a89da-1258717764.tcb.qcloud.la/A.png",
|
||||
"status": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"env": "test-env-0001",
|
||||
"alias": "test-env"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"status": "INITIALIZING"
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"env": "test-777bb9",
|
||||
"function_name": "function1"
|
||||
}
|
@@ -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 @@
|
||||
{
|
||||
"env": "test2-4a89da",
|
||||
"collection_name": "test_delete_collection"
|
||||
}
|
@@ -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,4 @@
|
||||
{
|
||||
"env": "test-777bb9",
|
||||
"function_name": "login"
|
||||
}
|
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"url": "https://lambdash-1253665810.cos.ap-shanghai.myqcloud.com/1258717764/qbasetest-a5c40e/login/login_LATEST.zip?sign=q-sign-algorithm%3Dsha1%26q-ak%3DAKIDqbBtfGe4eSSK8CExGjmC0e8Qcnswv6yj%26q-sign-time%3D1562247164%3B1562257224%26q-key-time%3D1562247164%3B1562257224%26q-header-list%3D%26q-url-param-list%3D%26q-signature%3Dfd43be65f7381293315269dbf18cd99e143fab48&response-content-type=application/octet-stream",
|
||||
"checksum": "bf657f327e477652d137b45b08b6400ab16947b4aaf92e2b04a5fbe5a4582b46"
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"type": 1
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"config": "{\"enable\":true,\"callbacks\":[{\"msgType\":\"msg\",\"event\":\"event\",\"env\":\"env\",\"functionName\":\"func\"}]}"
|
||||
}
|
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"data": {
|
||||
"function_config": {
|
||||
"enable": false,
|
||||
"callbacks": [
|
||||
{
|
||||
"msgType": "event",
|
||||
"event": "user_enter_tempsession",
|
||||
"env": "test-env-6gni9ity244a6ea3",
|
||||
"functionName": "callback",
|
||||
"enable": false
|
||||
},
|
||||
{
|
||||
"msgType": "image",
|
||||
"event": "",
|
||||
"env": "test-env-6gni9ity244a6ea3",
|
||||
"functionName": "callback",
|
||||
"enable": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"container_config": {
|
||||
"enable": true,
|
||||
"qbase_env": "test-env-6gni9ity244a6ea3",
|
||||
"qbase_container_path": "/container-echo",
|
||||
"text_mode": 1
|
||||
}
|
||||
}
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"codesecret": "t44gXCQQdVCFcMWKrCsSwQ5uV94Op3HiqoZQ1H972pyMBfVgvnAeUGN2vm5Xx07/"
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"env": "test-env-0001"
|
||||
}
|
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"info_list": [
|
||||
{
|
||||
"env": "test2-4a89da",
|
||||
"alias": "test2",
|
||||
"create_time": "2019-04-04 14:10:28",
|
||||
"update_time": "2019-04-04 14:10:36",
|
||||
"status": "NORMAL",
|
||||
"package_id": "basic",
|
||||
"package_name": "基础版 1"
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"type": 1,
|
||||
"env": "test-777bb9",
|
||||
"function_name": "openapi"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"config": "{\"permissions\":{\"openapi\":[\"wxacode.get\",\"wxacode.getUnlimited\",\"templateMessage.send\",\"templateMessage.addTemplate\",\"templateMessage.deleteTemplate\",\"templateMessage.getTemplateList\",\"templateMessage.getTemplateLibraryById\",\"templateMessage.getTemplateLibraryList\"]}}"
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"lifespan": 7200
|
||||
}
|
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"secretid": "SECRETID",
|
||||
"secretkey": "SECRETKEY",
|
||||
"token": "TOKEN",
|
||||
"expired_time": 1557310488
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"hashed_payload": "lowercase_sha256hex_payload"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"headers": "Authorization:TC3-HMAC-SHA256 Credential=AKIDNS5S-8S5Y7dxxv8lOPYPqu7XqNM3XUTG6QUxv2B-zkIcRG0XziWdsvpzzzzzzz/2019-05-28/scf/tc3_request, SignedHeaders=content-type;host, Signature=096dad0a5a5563381458224f38c1b8f35c8e2d5a8451950e33e36fa856fe9cd2\r\nHost:scf.tencentcloudapi.com\r\nContent-Type:application/json\r\nX-TC-Action:UpdateFunctionCode\r\nX-TC-Timestamp:1559046811\r\nX-TC-Version:2018-04-16\r\nX-TC-Region:ap-shanghai\r\nX-TC-Token:TOKEN"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"resp_data": "{\"event\":{\"userInfo\":{\"appId\":\"SAMPLE_APPID\"}},\"appid\":\"SAMPLE_APPID\"}"
|
||||
}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"env": "test-777bb9",
|
||||
"limit": 20,
|
||||
"offset": 0
|
||||
}
|
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"total_count": 1,
|
||||
"functions": [
|
||||
{
|
||||
"mod_time": "2019-06-21 15:23:54",
|
||||
"add_time": "2019-02-27 15:34:59",
|
||||
"runtime": "Nodejs8.9",
|
||||
"name": "login",
|
||||
"status": "Active"
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"env": "test-env-0001"
|
||||
}
|
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"function_config": {
|
||||
"enable": false,
|
||||
"callbacks": [
|
||||
{
|
||||
"msgType": "event",
|
||||
"event": "user_enter_tempsession",
|
||||
"env": "test-env-6gni9ity244a6ea3",
|
||||
"functionName": "callback",
|
||||
"enable": false
|
||||
},
|
||||
{
|
||||
"msgType": "image",
|
||||
"event": "",
|
||||
"env": "test-env-6gni9ity244a6ea3",
|
||||
"functionName": "callback",
|
||||
"enable": true
|
||||
}
|
||||
]
|
||||
},
|
||||
"container_config": {
|
||||
"enable": true,
|
||||
"qbase_env": "test-env-6gni9ity244a6ea3",
|
||||
"qbase_container_path": "/container-echo",
|
||||
"text_mode": 1
|
||||
}
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"appid": "wx5fe6bb43205e9e70",
|
||||
"env": "mytestenv-4gl1pvzp25d960df"
|
||||
}
|
@@ -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 @@
|
||||
{
|
||||
"type": 1,
|
||||
"config": "{\"enable\":true,\"callbacks\":[{\"msgType\":\"msg\",\"event\":\"event\",\"env\":\"env\",\"functionName\":\"func\"}]}"
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"env": "test2-4a89da",
|
||||
"path": "this/is/a/example/file.path"
|
||||
}
|
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"url": "https://cos.ap-shanghai.myqcloud.com/7465-test2-4a89da-1258717764/testupload",
|
||||
"token": "Cukha70zkXIBqkh1OhUIFqjUmXLXeSWq7dff61099221bb270522b8e0cf21d72e0aWCfGXEIDT5bKVJgykFFr9_MeQ-ExrsZ8oiFdMwyYag8h0r-EJq_EaO94KzksxH6bAeb4Y7SwZjJqoy_4g1Na797F1IEG9Dnstm_rz02AgaP5HbJwt1P-XHT4Xjw_lafla079gtQKAP-EPbE5Tc8BRXIm32esjGDDDuDyml7IJqbsPolYZ4-CHQsisdx488loGAN4f7YRMkrrP1Pgi5XOm0-iG5HbWd3tHtuE2pzsGkTobO_fyz2PfSPaeUt_735ll38yIWpAFESAsZnBj2DcRSPBT2FJ_s5mOZACS53q6-tWXPO0AR3-EhOCQpiDKsldVsCxz00Uwhgm1T6Ozw777fJEFkUIngUdZ5yajy3LA84Mpfu6CLkFjfiBtz3wpmcCQxhijo_CrVHkmaMc2JBQ",
|
||||
"authorization": "q-sign-algorithm=sha1&q-ak=AKID98EDB528Sfqerp0Z_7l23we-u4Avrx04te9VvlzGihMTseysMgu7iSdh_hxEnoAy&q-sign-time=1557307130;1557308030&q-key-time=1557307130;1557308030&q-header-list=&q-url-param-list=&q-signature=ac95227b67a04157bb5e49b435c6ac3ce88e03f2",
|
||||
"file_id": "cloud://test2-4a89da.7465-test2-4a89da-1258717764/testupload",
|
||||
"cos_file_id": "HDze32/qZENCwWi5N5akgoXSv3U8DsccKaqCxTMGs0zFgvlD28j484/VYFPJ1l2QDh0Qy8wNbQCpxs5zEsLJln1lIY9RGYn1LzRQQQYFQm+Xwvw6S4YEZN1AIwY906mwIBgiI3gKGkU2K1+1ZEnEYEM4Uh/C1JxB4Q=="
|
||||
}
|
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"type": 3,
|
||||
"env": "env_id",
|
||||
"function_name": "func",
|
||||
"config": "{\"timeout\":5}"
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"action": "set",
|
||||
"open": true,
|
||||
"env": "myttest-8gu57so0bd9f9e8a",
|
||||
"api_whitelist": ["/*"],
|
||||
"version": 6
|
||||
}
|
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"open": true,
|
||||
"api_whitelist": ["/*"],
|
||||
"version": 2
|
||||
}
|
@@ -0,0 +1,30 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"list": [
|
||||
{
|
||||
"merchant_code": "1900006511",
|
||||
"merchant_name": "MIOKKK市区政府-test_mdm",
|
||||
"company_name": "weapp政府111",
|
||||
"mch_relation_state": "RELATION_BINDED",
|
||||
"jsapi_auth_state": "AUTH_AUTHORIZED",
|
||||
"refund_auth_state": "AUTH_AUTHORIZED"
|
||||
},
|
||||
{
|
||||
"merchant_code": "1800008315",
|
||||
"merchant_name": "微信公众平台",
|
||||
"company_name": "深圳市腾讯计算机系统有限公司",
|
||||
"mch_relation_state": "RELATION_WAIT_CONFIRM_WXTPL",
|
||||
"jsapi_auth_state": "AUTH_WAIT_CONFIRM_WXTPL",
|
||||
"refund_auth_state": "AUTH_UNAUTHORIZED"
|
||||
},
|
||||
{
|
||||
"merchant_code": "11485517",
|
||||
"merchant_name": "商家简称",
|
||||
"company_name": "广平大街2",
|
||||
"mch_relation_state": "RELATION_WAIT_CONFIRM_WXTPL",
|
||||
"jsapi_auth_state": "AUTH_WAIT_CONFIRM_WXTPL",
|
||||
"refund_auth_state": "AUTH_UNAUTHORIZED"
|
||||
}
|
||||
]
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"action": "bind",
|
||||
"merchant_code": "1900006511"
|
||||
}
|
Reference in New Issue
Block a user