Commit 558fa4c1 authored by 杨成林's avatar 杨成林

Merge branch 'ycl/fix' into 'test'

add alias

See merge request alpha/sun!270
parents 51da97a9 6328161d
......@@ -65,7 +65,8 @@ class PictorialUpdateOrCreate(APIView):
'add_score': int(request.POST.get('add_score', 0)),
'is_public': True if request.POST.get('is_public') == "true" else False,
'is_feed': int(request.POST.get('is_feed', 0)),
'pictorial_activity_ids': [int(pictorial_activity_id)]
'pictorial_activity_ids': [int(pictorial_activity_id)],
'alias': request.POST.get('alias', ''),
}
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