feat: 投诉工单支持填写QQ/微信/手机联系方式
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -108,6 +108,9 @@ class GongdanCreateView(APIView):
|
||||
target_role=d.get('target_role'),
|
||||
target_user_id=d.get('target_user_id') or d.get('zuzhang_id') or d.get('guanshi_id'),
|
||||
image_urls=images,
|
||||
contact_qq=d.get('contact_qq') or d.get('qq') or '',
|
||||
contact_wechat=d.get('contact_wechat') or d.get('wechat') or d.get('wx') or '',
|
||||
contact_phone=d.get('contact_phone') or d.get('phone') or d.get('mobile') or '',
|
||||
)
|
||||
return _ok(
|
||||
serialize_gongdan(gd, include_images=True, include_shengji=True, viewer_uid=request.user.UserUID),
|
||||
|
||||
Reference in New Issue
Block a user