소스 검색

fix:企业微信-给外部联系人打标签-参数问题 (#577)

* fix:企业微信-给外部联系人打标签-参数问题

* Update tag.go

Co-authored-by: 俞彬彬 <shanshan82324650yu@163.com>
Co-authored-by: houseme <housemecn@gmail.com>
bailey5239 4 년 전
부모
커밋
e1307648fd
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      work/externalcontact/tag.go

+ 2 - 1
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"`