|
|
@ -79,7 +79,7 @@ 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) |
|
|
|
print('REMOTE_ADDR', ip) |
|
|
|
mock_service_switch = ZZMockModel.objects.filter(ip=ip).first() |
|
|
|
mock_service_switch = ZZMockModel.objects.filter(ip=ip).first() |
|
|
|
print(mock_service_switch) |
|
|
|
print(mock_service_switch) |
|
|
|
if mock_service_switch.downloadFilmInfo is True: |
|
|
|
if mock_service_switch.downloadFilmInfo is True: |
|
|
|