|
|
@ -44,8 +44,13 @@ def get(cinema_data, request): |
|
|
|
session_code = request.GET.get('sessionCode') |
|
|
|
session_code = request.GET.get('sessionCode') |
|
|
|
overtime_type = request.GET.get('overtimeType') |
|
|
|
overtime_type = request.GET.get('overtimeType') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
print(target_show_id, target_status, session_code, overtime_type) |
|
|
|
|
|
|
|
|
|
|
|
# session_code转show_id |
|
|
|
# session_code转show_id |
|
|
|
request_show_id = handle_session_code(session_code) |
|
|
|
if len(session_code) == 16: |
|
|
|
|
|
|
|
request_show_id = handle_session_code(session_code) |
|
|
|
|
|
|
|
else: |
|
|
|
|
|
|
|
request_show_id = session_code |
|
|
|
|
|
|
|
|
|
|
|
# 如果不是要测试的场次直接返回None, 从而执行bypass |
|
|
|
# 如果不是要测试的场次直接返回None, 从而执行bypass |
|
|
|
if request_show_id != target_show_id: |
|
|
|
if request_show_id != target_show_id: |
|
|
|