Commit a63d42f3 authored by 杨成林's avatar 杨成林

Merge branch 'ycl/like18' into 'dev'

add is_repeat_read

See merge request alpha/sun!201
parents c37c13ad 7dea44b7
......@@ -151,6 +151,7 @@ class OperationEdit(APIView):
start_time = int(request.POST.get('start_time'))
end_time = int(request.POST.get('end_time'))
long_image_url = request.POST.get('long_image_url')
is_repeat_read = int(request.POST.get('is_repeat_read', 1))
data = {
"operation_type": operation_type,
......@@ -158,7 +159,8 @@ class OperationEdit(APIView):
"long_image_url": long_image_url,
"url": url,
"start_time": start_time,
"end_time": end_time
"end_time": end_time,
"is_repeat_read": is_repeat_read
}
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