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

This commit is contained in:
Fu Diwei
2021-08-07 13:47:02 +08:00
parent 6da201dd6c
commit 4b33911f74
16 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
{
"env": "test-777bb9",
"function_name": "function1"
}

View File

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

View File

@@ -0,0 +1,4 @@
{
"env": "test-777bb9",
"function_name": "login"
}

View File

@@ -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"
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"codesecret": "t44gXCQQdVCFcMWKrCsSwQ5uV94Op3HiqoZQ1H972pyMBfVgvnAeUGN2vm5Xx07\/"
}

View File

@@ -0,0 +1,5 @@
{
"type": 1,
"env": "test-777bb9",
"function_name": "openapi"
}

View File

@@ -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\"]}}"
}

View File

@@ -0,0 +1,3 @@
{
"hashed_payload": "lowercase_sha256hex_payload"
}

View File

@@ -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"
}

View File

@@ -0,0 +1,5 @@
{
"errcode": 0,
"errmsg": "ok",
"resp_data": "{\"event\":{\"userInfo\":{\"appId\":\"SAMPLE_APPID\"}},\"appid\":\"SAMPLE_APPID\"}"
}

View File

@@ -0,0 +1,5 @@
{
"env": "test-777bb9",
"limit": 20,
"offset": 0
}

View File

@@ -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"
}
]
}

View File

@@ -0,0 +1,6 @@
{
"type": 3,
"env": "env_id",
"function_name": "func",
"config": "{\"timeout\":5}"
}