add wxwork kf account management functionality

This commit is contained in:
mlogclub
2026-04-27 11:43:34 +08:00
parent 9a82a3ea52
commit 12f66bcf27
5 changed files with 162 additions and 14 deletions
@@ -17,6 +17,13 @@ type ChannelResponse struct {
Remark string `json:"remark"`
}
type WxWorkKFAccountResponse struct {
OpenKfID string `json:"openKfId"`
Name string `json:"name"`
Avatar string `json:"avatar"`
ManagePrivilege bool `json:"managePrivilege"`
}
func BuildChannelResponse(item *models.Channel) ChannelResponse {
if item == nil {
return ChannelResponse{}