Commit c7d10d4c authored by 许俊鹏's avatar 许俊鹏

画报增加人工赋分

parent 99e8d186
...@@ -58,7 +58,8 @@ class PictorialUpdateOrCreate(APIView): ...@@ -58,7 +58,8 @@ class PictorialUpdateOrCreate(APIView):
'is_recommend': int(request.POST.get('is_recommend', 0)), 'is_recommend': int(request.POST.get('is_recommend', 0)),
'pictorial_user_ids': pictorial_user_ids, 'pictorial_user_ids': pictorial_user_ids,
'icon': request.POST.get('icon', ''), 'icon': request.POST.get('icon', ''),
'collection_tag_ids': collection_tag_ids 'collection_tag_ids': collection_tag_ids,
'add_score': int(request.POST.get('add_score', 0)),
} }
try: try:
data = self.rpc['venus/sun/pictorial/edit'](id=id, data=data).unwrap() data = self.rpc['venus/sun/pictorial/edit'](id=id, data=data).unwrap()
......
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