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