浏览代码

first commit

xubo 1 年之前
父节点
当前提交
915dbe42cb
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      alibabacloud_sample/file_utils.py

+ 5 - 0
alibabacloud_sample/file_utils.py

@@ -19,5 +19,10 @@ def upload_file():
         return "File uploaded successfully"
 
 
+@app.route('/', methods=['GET'])
+def hello():
+    print('hello world')
+
+
 if __name__ == '__main__':
     app.run(host='0.0.0.0', port=8000, debug=True)