Commit d40f1124 authored by 王浩's avatar 王浩

Merge branch 'haow/dev' into 'test'

fix code

See merge request !211
parents c5a37760 a5ffe251
......@@ -137,9 +137,10 @@ class TagRegisterUpdateView(APIView):
return data
def post(self, request):
ids = request.POST.get('tag_ids')
male_ids = request.POST.get('male_ids')
female_ids = request.POST.get('female_ids')
try:
self.rpc['venus/sun/tag/register_tag/update'](ids=ids).unwrap()
self.rpc['venus/sun/tag/register_tag/update'](female_ids=female_ids, male_ids=male_ids).unwrap()
except Exception as e:
error_logger.error(u'配置失败')
raise
......
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