|
|
@ -79,7 +79,9 @@ def upload_screen_seat_info(request): |
|
|
|
# 1、影片信息下载接口 GET /data/downloadFilmInfo |
|
|
|
# 1、影片信息下载接口 GET /data/downloadFilmInfo |
|
|
|
def download_film_info(request): |
|
|
|
def download_film_info(request): |
|
|
|
ip = request.META.get('REMOTE_ADDR') |
|
|
|
ip = request.META.get('REMOTE_ADDR') |
|
|
|
|
|
|
|
print(ip) |
|
|
|
mock_service_switch = ZZMockModel.objects.filter(ip=ip).first() |
|
|
|
mock_service_switch = ZZMockModel.objects.filter(ip=ip).first() |
|
|
|
|
|
|
|
print(mock_service_switch) |
|
|
|
if mock_service_switch.downloadFilmInfo is True: |
|
|
|
if mock_service_switch.downloadFilmInfo is True: |
|
|
|
if customer_json := json_data.get('downloadFilmInfo'): |
|
|
|
if customer_json := json_data.get('downloadFilmInfo'): |
|
|
|
return JsonResponse(customer_json, json_dumps_params={'ensure_ascii': False}) |
|
|
|
return JsonResponse(customer_json, json_dumps_params={'ensure_ascii': False}) |
|
|
|