优化flask

This commit is contained in:
2022-02-28 13:51:30 +08:00
parent e1d50c3b72
commit 752cc7e19d
33 changed files with 814 additions and 3099 deletions

7
api/hello.py Normal file
View File

@ -0,0 +1,7 @@
api = RedPrint('hello')
@api.route('/hello', methods=['GET'])
def index():
return '<H2>Hello , World</H2>'