xubo hace 1 año
padre
commit
736249b1fb
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  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__':