From cb4af1059b940ed54eddf633b008daefc7401562 Mon Sep 17 00:00:00 2001 From: RogerWork Date: Wed, 20 Mar 2024 15:55:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- mock/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mock/views.py b/mock/views.py index 8ae81b8..7818bbf 100644 --- a/mock/views.py +++ b/mock/views.py @@ -79,7 +79,9 @@ def upload_screen_seat_info(request): # 1、影片信息下载接口 GET /data/downloadFilmInfo def download_film_info(request): ip = request.META.get('REMOTE_ADDR') + print(ip) mock_service_switch = ZZMockModel.objects.filter(ip=ip).first() + print(mock_service_switch) if mock_service_switch.downloadFilmInfo is True: if customer_json := json_data.get('downloadFilmInfo'): return JsonResponse(customer_json, json_dumps_params={'ensure_ascii': False})