Commit c3a7a1ab authored by yangchenglin's avatar yangchenglin

fix

parent d53cb06f
...@@ -148,6 +148,7 @@ class TopicUpdateOrCreateView(APIView): ...@@ -148,6 +148,7 @@ class TopicUpdateOrCreateView(APIView):
'body_esthetics_tag_ids': body_esthetics_tag_ids, 'body_esthetics_tag_ids': body_esthetics_tag_ids,
'product_id': request.POST.get('product_id'), 'product_id': request.POST.get('product_id'),
'have_face': int(request.POST.get('have_face', 0)), 'have_face': int(request.POST.get('have_face', 0)),
'is_finished': int(request.POST.get('is_finished', 1)),
} }
try: try:
self.rpc['venus/sun/topic/edit'](id=id, data=data).unwrap() self.rpc['venus/sun/topic/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