临时代码

main
roger_mac 11 months ago
parent de7f4b382b
commit c380bf10b4
  1. 7
      mock/mock_templates/get_overtime_ticket_status_tmp.py
  2. 3
      reqirement.txt

@ -44,8 +44,13 @@ def get(cinema_data, request):
session_code = request.GET.get('sessionCode')
overtime_type = request.GET.get('overtimeType')
print(target_show_id, target_status, session_code, overtime_type)
# 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
if request_show_id != target_show_id:

@ -1,8 +1,10 @@
asgiref==3.7.2
certifi==2023.7.22
cffi==1.16.0
charset-normalizer==3.3.2
coreapi==2.3.3
coreschema==0.0.4
cryptography==41.0.7
Django==4.2.7
django-cors-headers==4.3.0
django-filter==23.5
@ -13,6 +15,7 @@ idna==3.4
itypes==1.2.0
Jinja2==3.1.2
MarkupSafe==2.1.3
pycparser==2.21
PyMySQL==1.1.0
pytz==2023.3.post1
redis==5.0.1

Loading…
Cancel
Save