mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-07-18 13:26:42 +08:00
test(wxapi): 适配新的模型测试
This commit is contained in:
parent
035f25d5a9
commit
1df5a19200
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"funcname": "testfunc",
|
||||||
|
"envs": [ "test-env1", "test-env2" ],
|
||||||
|
"triggers": [
|
||||||
|
{
|
||||||
|
"trigger_name": "trigger_name1",
|
||||||
|
"type": "Timer",
|
||||||
|
"config": "0 0 2 2 * * *"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"errcode": 0,
|
||||||
|
"errmsg": "ok",
|
||||||
|
"err_list": [
|
||||||
|
{
|
||||||
|
"env": "test-env2",
|
||||||
|
"errmsg": "can't find the env"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"functionname": "testfunc",
|
||||||
|
"envs": [ "dev-3gewtf9c10f60c76", "mytestenv-7gniuaq95b51dcdc", "mytestenv-7gniuaq95b51dcdc22" ],
|
||||||
|
"zipfile": "UEsDBBQACAAIALB+WU4AAAAAAAAAAAAAAAAIABAAaW5kZXguanNVWAwAAZ9zXPuec1z1ARQAdY7BCsIwEETv+Yoll6ZQ+wOhnv0DD+IhxkWC664kWwmI/27V3IpzGuYNw3RzQSiaU9TOG6x3yVrGW0gMEzh8IOsAUVixfkwgOoV47WHawtPAooUVIRxJLs7ukEhgL5nOtl/h79qf+GBZeIM1FbXHdac9aKC9cDwTDfCb9eblzRtQSwcI6+pcr4AAAADOAAAAUEsBAhUDFAAIAAgAsH5ZTuvqXK+AAAAAzgAAAAgADAAAAAAAAAAAQKSBAAAAAGluZGV4LmpzVVgIAAGfc1z7nnNcUEsFBgAAAAABAAEAQgAAAMYAAAAAAA=="
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"errcode": 0,
|
||||||
|
"errmsg": "ok"
|
||||||
|
}
|
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"functionname": "testfunc",
|
||||||
|
"envs": [ "dev-3gewtf9c10f60c76", "mytestenv-7gniuaq95b51dcdc", "mytestenv-7gniuaq95b51dcdc22" ],
|
||||||
|
"zipfile": "UEsDBBQACAAIALB+WU4AAAAAAAAAAAAAAAAIABAAaW5kZXguanNVWAwAAZ9zXPuec1z1ARQAdY7BCsIwEETv+Yoll6ZQ+wOhnv0DD+IhxkWC664kWwmI/27V3IpzGuYNw3RzQSiaU9TOG6x3yVrGW0gMEzh8IOsAUVixfkwgOoV47WHawtPAooUVIRxJLs7ukEhgL5nOtl/h79qf+GBZeIM1FbXHdac9aKC9cDwTDfCb9eblzRtQSwcI6+pcr4AAAADOAAAAUEsBAhUDFAAIAAgAsH5ZTuvqXK+AAAAAzgAAAAgADAAAAAAAAAAAQKSBAAAAAGluZGV4LmpzVVgIAAGfc1z7nnNcUEsFBgAAAAABAAEAQgAAAMYAAAAAAA=="
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"errcode": 0,
|
||||||
|
"errmsg": "ok"
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"functionname": "getwxcode",
|
||||||
|
"env": "test-env-6gni9ity244a6ea3"
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"errcode": 0,
|
||||||
|
"errmsg": "ok"
|
||||||
|
}
|
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"env": "myttest-8gu57so0bd9f9e8a"
|
||||||
|
}
|
@ -0,0 +1,28 @@
|
|||||||
|
{
|
||||||
|
"errcode": 0,
|
||||||
|
"errmsg": "ok",
|
||||||
|
"total_count": 2,
|
||||||
|
"functions": [
|
||||||
|
{
|
||||||
|
"mod_time": "2021-07-29 15:04:19",
|
||||||
|
"add_time": "2021-07-29 15:04:19",
|
||||||
|
"runtime": "Nodejs8.9",
|
||||||
|
"name": "testfunc5",
|
||||||
|
"status": "CreateFailed",
|
||||||
|
"status_reason": [
|
||||||
|
{
|
||||||
|
"errcode": "ResourceNotFound.File",
|
||||||
|
"errmsg": "未找到函数执行入口文件,请确认代码包入口文件名和 handler 设置是否对应或代码压缩包是否正常。"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"mod_time": "2021-07-29 14:41:43",
|
||||||
|
"add_time": "2021-07-29 14:41:43",
|
||||||
|
"runtime": "Nodejs8.9",
|
||||||
|
"name": "testfunc4",
|
||||||
|
"status": "Active",
|
||||||
|
"status_reason": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"funcname": "testfunc",
|
||||||
|
"env": "test-env1"
|
||||||
|
}
|
@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"errcode": 0,
|
||||||
|
"errmsg": "ok",
|
||||||
|
"triggers": [
|
||||||
|
{
|
||||||
|
"trigger_name": "myTrigger",
|
||||||
|
"config": "0 0 2 1 * * *",
|
||||||
|
"type": "timer"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -0,0 +1 @@
|
|||||||
|
{}
|
@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"errcode": 0,
|
||||||
|
"errmsg": "ok",
|
||||||
|
"resp_data": "{\"event\":{\"userInfo\":{\"appId\":\"SAMPLE_APPID\"}},\"appid\":\"SAMPLE_APPID\"}"
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"env": "myttest-8gu57so0bd9f9e8a",
|
||||||
|
"functionname": "testfunc1",
|
||||||
|
"memorysize": 512,
|
||||||
|
"timeout": 2,
|
||||||
|
"environment_variables": [
|
||||||
|
{
|
||||||
|
"key": "test",
|
||||||
|
"value": "true"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"public_net_config": {
|
||||||
|
"public_net_status": "DISABLE",
|
||||||
|
"eip_status": "DISABLE"
|
||||||
|
},
|
||||||
|
"vpc_config": {
|
||||||
|
"vpcid": "vpc-a9ejy7oi",
|
||||||
|
"subnetid": "subnet-oqw8aqbd"
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"errcode": 0,
|
||||||
|
"errmsg": "ok"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user