优化flask
This commit is contained in:
7
api/hello.py
Normal file
7
api/hello.py
Normal file
@ -0,0 +1,7 @@
|
||||
|
||||
|
||||
api = RedPrint('hello')
|
||||
|
||||
@api.route('/hello', methods=['GET'])
|
||||
def index():
|
||||
return '<H2>Hello , World</H2>'
|
Reference in New Issue
Block a user