From 27080d10d8c452f760a21ca16d1b6849c60a1165 Mon Sep 17 00:00:00 2001 From: Vlad Date: Sun, 18 May 2025 00:52:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BE=D0=BA=D0=B0=D0=BB=D1=8C=D0=BD=D1=8B?= =?UTF-8?q?=D0=B5=20=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B5=D0=BD=D0=B8=D1=8F?= =?UTF-8?q?:=20.gitignore,=20app.py,=20requirements.txt=20=E2=80=94=20?= =?UTF-8?q?=D0=BF=D0=BE=D0=B4=D0=B3=D0=BE=D1=82=D0=BE=D0=B2=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=BA=20=D1=81=D0=BB=D0=B8=D1=8F=D0=BD=D0=B8=D1=8E=20=D0=B2?= =?UTF-8?q?=D0=B5=D1=82=D0=BE=D0=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + app.py | 4 ++-- requirements.txt | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index e9c31ff..9a14207 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ __pycache__/ *.pyc logs node_modules/ + diff --git a/app.py b/app.py index 634ea47..03125c8 100644 --- a/app.py +++ b/app.py @@ -741,7 +741,7 @@ def api_reqimage(): access_code = request.args.get('access_code', None) vin = request.args.get('vin', None) - user_ip = get_ip(request) ## определение ip клиента + # user_ip = get_ip(request) ## определение ip клиента # базовые проверки входящих аргументов if len(vin) != 17 or vin is None: @@ -813,7 +813,7 @@ def api_reqimage(): for it in res: images.append({ 'num':nm, - 'url':'https://salimages.salvagedb/{}/{}'.format(req_id, it[0]) + 'url':'https://salvagedb.com/simages/{}/{}'.format(req_id, it[0]) }) nm = nm + 1 ret = {'status': 'Image_found', 'Images':images} diff --git a/requirements.txt b/requirements.txt index 4f657ca..21baa58 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ flask oracledb cacheing -reportlab \ No newline at end of file +reportlab +aiogram \ No newline at end of file