1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-04 12:52:27 +08:00

fix(work): fix json Unmarshal Error in GetExternalUserDetail api (#732)

fix json Unmarshal Error, err=json: cannot unmarshal number into Go struct field
WechatChannel.follow_user.wechat_channels.source of type string
This commit is contained in:
曹晶
2023-10-09 02:02:37 -05:00
committed by GitHub
parent 8f10936479
commit da5067bcb2

View File

@@ -104,7 +104,7 @@ type Tag struct {
// WechatChannel 视频号添加的场景
type WechatChannel struct {
NickName string `json:"nickname"`
Source string `json:"source"`
Source int `json:"source"`
}
// GetExternalUserDetail 获取外部联系人详情