Commit 7dea44b7 authored by yangchenglin's avatar yangchenglin

add is_repeat_read

parent 2763b3b7
...@@ -151,6 +151,7 @@ class OperationEdit(APIView): ...@@ -151,6 +151,7 @@ class OperationEdit(APIView):
start_time = int(request.POST.get('start_time')) start_time = int(request.POST.get('start_time'))
end_time = int(request.POST.get('end_time')) end_time = int(request.POST.get('end_time'))
long_image_url = request.POST.get('long_image_url') long_image_url = request.POST.get('long_image_url')
is_repeat_read = int(request.POST.get('is_repeat_read', 1))
data = { data = {
"operation_type": operation_type, "operation_type": operation_type,
...@@ -158,7 +159,8 @@ class OperationEdit(APIView): ...@@ -158,7 +159,8 @@ class OperationEdit(APIView):
"long_image_url": long_image_url, "long_image_url": long_image_url,
"url": url, "url": url,
"start_time": start_time, "start_time": start_time,
"end_time": end_time "end_time": end_time,
"is_repeat_read": is_repeat_read
} }
try: try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment