Skip to content

Commit 2f60246

Browse files
committed
fix:修复客服账号头像获取失败的问题
1 parent 672ce37 commit 2f60246

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

account.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ func (r *Client) AccountUpdate(options AccountUpdateOptions) (info BaseModel, er
8484

8585
// AccountInfoSchema 客服详情
8686
type AccountInfoSchema struct {
87-
OpenKFID string `json:"open_kfid"` // 客服帐号ID, 不多于64字节
88-
Name string `json:"name"` // 客服帐号名称, 不多于16个字符
89-
MediaID string `json:"media_id"` // 客服头像临时素材。可以调用上传临时素材接口获取, 不多于128个字节
87+
OpenKFID string `json:"open_kfid"` // 客服帐号ID
88+
Name string `json:"name"` // 客服帐号名称
89+
Avatar string `json:"avatar"` // 客服头像URL
9090
}
9191

9292
// AccountListSchema 获取客服账号列表响应内容

0 commit comments

Comments
 (0)