DmitrMakeev
commited on
Commit
•
086ec02
1
Parent(s):
c3a8752
Update google_db.py
Browse files- google_db.py +6 -6
google_db.py
CHANGED
@@ -16,18 +16,18 @@ def add_user():
|
|
16 |
emails = globs.email
|
17 |
phones = globs.phone
|
18 |
grups_id = globs.grup_id # Это List ID
|
19 |
-
|
20 |
-
|
21 |
|
22 |
# Создаем данные для отправки
|
23 |
data = {
|
24 |
'list_id': grups_id,
|
25 |
'email': emails,
|
26 |
'values': [
|
27 |
-
{'value': names, 'parameter_id': '
|
28 |
-
{'value': phones, 'parameter_id': '
|
29 |
-
{'value':
|
30 |
-
{'value':
|
31 |
]
|
32 |
}
|
33 |
|
|
|
16 |
emails = globs.email
|
17 |
phones = globs.phone
|
18 |
grups_id = globs.grup_id # Это List ID
|
19 |
+
utms1 = globs.pr1
|
20 |
+
utms2 = globs.pr2
|
21 |
|
22 |
# Создаем данные для отправки
|
23 |
data = {
|
24 |
'list_id': grups_id,
|
25 |
'email': emails,
|
26 |
'values': [
|
27 |
+
{'value': names, 'parameter_id': 'name'},
|
28 |
+
{'value': phones, 'parameter_id': 'phone'},
|
29 |
+
{'value': utms1, 'parameter_id': 'utm1'},
|
30 |
+
{'value': utms2, 'parameter_id': 'utm2'}
|
31 |
]
|
32 |
}
|
33 |
|