소스 검색

"etl 脚本"

renyupeng 3 년 전
부모
커밋
44f310f3a3
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      Apietl/utlis/webHook.py

+ 2 - 1
Apietl/utlis/webHook.py

@@ -19,7 +19,8 @@ def api_root():
 
 @app.route('/webhook/account_report', methods=['POST'])
 def api_webhook_messages():
-    my_info = json.loads(request.param)
+    print(json.loads(request.data))
+    my_info = json.loads(request.data)
     account_id = my_info["account_id"]
     start_date = my_info["start_time"]
     end_date = my_info["end_time"]