add created_at field for ReserveResultPojo
This commit is contained in:
@@ -194,7 +194,7 @@ def read_mails():
|
||||
if match:
|
||||
url = match.group(0)
|
||||
if need_to_valid_url(url, successful_items):
|
||||
MONGO_STORE_MANAGER.save_links_to_validate(url)
|
||||
# MONGO_STORE_MANAGER.save_links_to_validate(url)
|
||||
url_validator = LinkValidator(url)
|
||||
# print("need to validate url: " + url)
|
||||
executor.submit(url_validator.start_page, params.get_proxy(ProxyType.OXYLABS), True)
|
||||
|
||||
@@ -101,6 +101,7 @@ class ReserveResultPojo:
|
||||
u'slot_position': self.slot_position,
|
||||
u'ccid': self.ccid,
|
||||
u'source_from': self.source_from,
|
||||
u'created_at': self.created_at,
|
||||
u'store_type': self.store_type,
|
||||
u'accepted': self.accepted,
|
||||
u'url_validated': self.url_validated,
|
||||
|
||||
@@ -11,8 +11,8 @@ mailjet = Client(auth=(api_key, api_secret), version='v3.1')
|
||||
from_email = "panleicim@gmail.com"
|
||||
store = "Hermès Paris Faubourg"
|
||||
# store = "Hermès Paris George V"
|
||||
dest_email = "124652097@qq.com"
|
||||
contact_name = "WEI junhong"
|
||||
dest_email = "wangyiwei19920130@gmail.com"
|
||||
contact_name = "HAN lihuan"
|
||||
|
||||
f = open(config.ROOT_DIR + "/templates/confirmed_rdv.html", "r")
|
||||
email_body = f.read()
|
||||
|
||||
Reference in New Issue
Block a user