add more infos to ReserveResultPojo

This commit is contained in:
2022-03-08 20:58:22 +01:00
parent 8b84b6ad71
commit 32b30ca11a
6 changed files with 23 additions and 15 deletions
+2 -2
View File
@@ -4,7 +4,7 @@ from playwright.sync_api import sync_playwright
import params
from db.DbManager import DataManager
from logs.LogSender import EVENT_CHECK_RESULTS, LOG_SUBJECT_EVENT
from logs.LogSender import TYPE_EVENT_CHECK_RESULTS, LOG_SUBJECT_EVENT
from pojo.ReserveResultPojo import ReserveResultPojo
SORRY_SENTENCE = "nous sommes sincèrement désolés de n'avoir pu vous satisfaire cette fois-ci"
@@ -48,7 +48,7 @@ def run(playwright, url) -> ResultEnum:
# need to start at 21h00
if __name__ == '__main__':
# get the list
params.oracle_log_sender.send_log(msg="开始检查约会结果", subject=LOG_SUBJECT_EVENT, type=EVENT_CHECK_RESULTS)
params.oracle_log_sender.send_log(msg="开始检查约会结果", subject=LOG_SUBJECT_EVENT, type=TYPE_EVENT_CHECK_RESULTS)
db_manager = params.firebase_store_manager
collection = db_manager.get_all_successful_items()
count = 0