xubo il y a 1 an
Parent
commit
736249b1fb
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      alibabacloud_sample/file_utils.py

+ 3 - 1
alibabacloud_sample/file_utils.py

@@ -21,7 +21,9 @@ def upload_file():
 
 @app.route('/', methods=['GET'])
 def hello():
-    print('hello world')
+    return {
+        'message': 'Hello World!'
+    }
 
 
 if __name__ == '__main__':