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})