xubo 1 год назад
Родитель
Сommit
736249b1fb
1 измененных файлов с 3 добавлено и 1 удалено
  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__':