diff options
| author | hdk <[email protected]> | 2023-10-19 19:12:36 +0800 |
|---|---|---|
| committer | hdk <[email protected]> | 2023-10-19 19:12:36 +0800 |
| commit | 42b45ab513941cfce69cafd06047c9a0950e5f41 (patch) | |
| tree | 443c98cc862d5b9b7dc855e24017ca690db266ab /apps | |
| parent | 97f65a1052fcd77839a41a5f01d439fa09706132 (diff) | |
初始提交
Diffstat (limited to 'apps')
| -rw-r--r-- | apps/__init__.py | 0 | ||||
| -rw-r--r-- | apps/datacheck.py | 13 | ||||
| -rw-r--r-- | apps/delay.py | 14 |
3 files changed, 27 insertions, 0 deletions
diff --git a/apps/__init__.py b/apps/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/apps/__init__.py diff --git a/apps/datacheck.py b/apps/datacheck.py new file mode 100644 index 0000000..f2f3244 --- /dev/null +++ b/apps/datacheck.py @@ -0,0 +1,13 @@ +# DNS记录测试接口 +from flask import Flask,Blueprint + +bp=Blueprint("check",__name__,url_prefix="/check") + [email protected]("/test") +def hello(): + return "hello" + + + + + diff --git a/apps/delay.py b/apps/delay.py new file mode 100644 index 0000000..61fe284 --- /dev/null +++ b/apps/delay.py @@ -0,0 +1,14 @@ +# 时延测试接口 +from flask import Flask,Blueprint,request + +bp=Blueprint("delay",__name__,url_prefix="/delay") + [email protected]("/test") +def hello(): + return "hello" + + + + + + |
