From e1307648fdcaa392daa5f21840014fbe7bf3a7b6 Mon Sep 17 00:00:00 2001 From: bailey5239 <85328544+bailey5239@users.noreply.github.com> Date: Tue, 28 Jun 2022 10:21:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BC=81=E4=B8=9A=E5=BE=AE=E4=BF=A1-?= =?UTF-8?q?=E7=BB=99=E5=A4=96=E9=83=A8=E8=81=94=E7=B3=BB=E4=BA=BA=E6=89=93?= =?UTF-8?q?=E6=A0=87=E7=AD=BE-=E5=8F=82=E6=95=B0=E9=97=AE=E9=A2=98=20(#577?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix:企业微信-给外部联系人打标签-参数问题 * Update tag.go Co-authored-by: 俞彬彬 Co-authored-by: houseme --- work/externalcontact/tag.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/work/externalcontact/tag.go b/work/externalcontact/tag.go index 01efdd5..0974b07 100644 --- a/work/externalcontact/tag.go +++ b/work/externalcontact/tag.go @@ -166,8 +166,9 @@ func (r *Client) DeleteCropTag(req DeleteCropTagRequest) error { } // MarkTagRequest 给客户打标签请求 +// 相关文档地址:https://developer.work.weixin.qq.com/document/path/92118 type MarkTagRequest struct { - UserID string `json:"user_id"` + UserID string `json:"userid"` ExternalUserID string `json:"external_userid"` AddTag []string `json:"add_tag"` RemoveTag []string `json:"remove_tag"`