mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-18 17:48:12 +08:00
test(wxapi): 适配新的模型测试
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"env": "test-777bb9",
|
||||
"function_name": "function1"
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
@@ -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 @@
|
||||
{}
|
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok",
|
||||
"codesecret": "t44gXCQQdVCFcMWKrCsSwQ5uV94Op3HiqoZQ1H972pyMBfVgvnAeUGN2vm5Xx07\/"
|
||||
}
|
@@ -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 @@
|
||||
{
|
||||
"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 @@
|
||||
{}
|
@@ -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,6 @@
|
||||
{
|
||||
"type": 3,
|
||||
"env": "env_id",
|
||||
"function_name": "func",
|
||||
"config": "{\"timeout\":5}"
|
||||
}
|
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"errcode": 0,
|
||||
"errmsg": "ok"
|
||||
}
|
Reference in New Issue
Block a user