feat(wxapi): 新增网络检测接口

This commit is contained in:
Fu Diwei
2021-10-31 13:41:44 +08:00
parent 0e2e794f3a
commit 12d04f4241
5 changed files with 153 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
{
"action": "all",
"check_operator": "DEFAULT"
}

View File

@@ -0,0 +1,26 @@
{
"dns": [
{
"ip": "111.161.64.40",
"real_operator": "UNICOM"
},
{
"ip": "111.161.64.48",
"real_operator": "UNICOM"
}
],
"ping": [
{
"ip": "111.161.64.40",
"from_operator": "UNICOM",
"package_loss": "0%",
"time": "23.079ms"
},
{
"ip": "111.161.64.48",
"from_operator": "UNICOM",
"package_loss": "0%",
"time": "21.434ms"
}
]
}