Commit 6ca59e6f authored by 杨成林's avatar 杨成林

Merge branch 'ycl/fix' into 'test'

fix operation recommend

See merge request alpha/sun!173
parents c27fbda9 c98d1b47
......@@ -59,7 +59,7 @@ class PictorialUpdateOrCreate(APIView):
'pictorial_user_ids': pictorial_user_ids,
'icon': request.POST.get('icon', ''),
'collection_tag_ids': collection_tag_ids,
'is_home_recommend': request.POST.get('is_home_recommend', 0),
'is_home_recommend': int(request.POST.get('is_home_recommend', 0)),
}
try:
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