소스 검색

"etl 脚本"

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

+ 2 - 2
Apietl/utlis/webHook.py

@@ -22,8 +22,8 @@ def api_webhook_messages():
     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"]
+    start_date = my_info["start_date"]
+    end_date = my_info["end_date"]
     date_type = my_info["date_type"]
     AccountReport().handler(date_type, account_id, start_date, end_date)