more location ata
This commit is contained in:
@@ -58,6 +58,13 @@ class WebContentsService(BaseService):
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def get_web_trafic_data(data):
|
def get_web_trafic_data(data):
|
||||||
provision_uid = data.get('provision_uid', '')
|
provision_uid = data.get('provision_uid', '')
|
||||||
|
country = data.get('country', '')
|
||||||
|
region = data.get('region', '')
|
||||||
|
city = data.get('city', '')
|
||||||
|
latitude = data.get('latitude', '')
|
||||||
|
longitude = data.get('longitude', '')
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
membersSubResult = MembersProducts.get_member_product_by_subscription_uid(provision_uid)
|
membersSubResult = MembersProducts.get_member_product_by_subscription_uid(provision_uid)
|
||||||
if not membersSubResult:
|
if not membersSubResult:
|
||||||
@@ -76,9 +83,11 @@ class WebContentsService(BaseService):
|
|||||||
"provision_uid": provision_uid,
|
"provision_uid": provision_uid,
|
||||||
"member_id": member_id,
|
"member_id": member_id,
|
||||||
"product_id": product_id,
|
"product_id": product_id,
|
||||||
"site_logo_text": "MY-GOOD-LOGO",
|
"country": country,
|
||||||
"site_contact_email": "email@specialemail.com",
|
"region": region,
|
||||||
"site_contact_phone": "911 111 1111",
|
"city": city,
|
||||||
|
"latitude": latitude,
|
||||||
|
"longitude": longitude,
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.error(f"Going for Thread ******************** ")
|
logger.error(f"Going for Thread ******************** ")
|
||||||
|
|||||||
Reference in New Issue
Block a user