fix(external_user): 修复外部联系人结构体字段类型并格式化对齐 (#890)

将ExternalProfile字段从字符串类型修正为指针结构体类型,适配企业微信API返回的JSON对象格式;同时对齐所有结构体字段的JSON标签,提升代码可读性

Co-authored-by: SuperX <xiang.song@todreamer.com>
This commit is contained in:
劣头andSuperX authored and GitHub committed 2026-06-23 14:44:44 +08:00
1 parent fb3009e337
commit 0e34286d78
1 file changed
+1 -1
+1 -1
View File
@@ -196,7 +196,7 @@ type ExternalContact struct {
Type int64 `json:"type"` Type int64 `json:"type"`
Gender int64 `json:"gender"` Gender int64 `json:"gender"`
UnionID string `json:"unionid"` UnionID string `json:"unionid"`
ExternalProfile string `json:"external_profile"` ExternalProfile *ExternalProfile `json:"external_profile"`
} }
// FollowInfo 批量获取外部联系人跟进人信息 // FollowInfo 批量获取外部联系人跟进人信息