Commit 2b625887 authored by 钟尚武's avatar 钟尚武

Merge branch 'shangwu/feature-expoert-tag' into 'test'

标签编辑增加是否经验标签字段

See merge request alpha/sun!353
parents f132c0c4 f38842c9
......@@ -74,6 +74,9 @@ class TagUpdateOrCreateView(APIView):
'is_core': request.POST.get('is_core', 0),
'official_pictorial_id': official_pictorial_id,
'is_show_in_register': request.POST.get('is_show_in_register', 'false'),
'is_expert': request.POST.get('is_expert', 0),
'gray_badge': request.POST.get('gray_badge', ''),
'light_badge': request.POST.get('light_badge', ''),
'pictorial_ids': list(
(map(lambda x: int(x.split(":")[0]), json.loads((request.POST.get('pictorial_ids', '[]'))))))
}
......
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