Commit ccfdfcaa authored by haowang's avatar haowang

fix

parents 111ab6af 49f4db76
...@@ -60,6 +60,8 @@ class PictorialUpdateOrCreate(APIView): ...@@ -60,6 +60,8 @@ class PictorialUpdateOrCreate(APIView):
'icon': request.POST.get('icon', ''), 'icon': request.POST.get('icon', ''),
'collection_tag_ids': collection_tag_ids, 'collection_tag_ids': collection_tag_ids,
'is_home_recommend': int(request.POST.get('is_home_recommend', 0)), 'is_home_recommend': int(request.POST.get('is_home_recommend', 0)),
'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