статус налогоплательщика
This commit is contained in:
@@ -258,7 +258,7 @@ def request_patient_information():
|
|||||||
# taxpayer_fio = data.get('taxpayer_fio')
|
# taxpayer_fio = data.get('taxpayer_fio')
|
||||||
patient_fio = data.get('patient_fio')
|
patient_fio = data.get('patient_fio')
|
||||||
|
|
||||||
url = "http://192.168.1.10:8081/AppFindPacFromTel"
|
url = "http://192.168.1.10:8080/AppFindPacFromTel"
|
||||||
data = {"telegram_id": user_id}
|
data = {"telegram_id": user_id}
|
||||||
|
|
||||||
response = requests.post(url, json=data)
|
response = requests.post(url, json=data)
|
||||||
@@ -527,7 +527,7 @@ def request_patient2():
|
|||||||
"second_name": patient_fio.split()[2] if len(patient_fio.split()) > 2 else "",
|
"second_name": patient_fio.split()[2] if len(patient_fio.split()) > 2 else "",
|
||||||
"last_name": patient_fio.split()[0],
|
"last_name": patient_fio.split()[0],
|
||||||
"pac_poluchat": "False",
|
"pac_poluchat": "False",
|
||||||
"poluchat_status": data.get('taxpayer_status'),
|
"poluchat_status": taxpayer_status_zapros,
|
||||||
"birthday": birthday_users
|
"birthday": birthday_users
|
||||||
}
|
}
|
||||||
print(payload)
|
print(payload)
|
||||||
|
|||||||
Reference in New Issue
Block a user