first commit

This commit is contained in:
Yangtao
2025-11-18 17:48:20 +08:00
commit 6e56cab848
196 changed files with 65809 additions and 0 deletions

35
pkg/common/netease/rsp.go Normal file
View File

@ -0,0 +1,35 @@
package Netease
type CreateChatGroupRsp struct {
FailedList []*FailedMember `json:"failed_list,omitempty"`
TeamInfo *TeamInfo `json:"team_info"`
}
type FailedMember struct {
AccountID string `json:"account_id"`
ErrorCode int `json:"error_code"`
ErrorMsg string `json:"error_msg"`
}
type TeamInfo struct {
TeamID int64 `json:"team_id"`
OwnerAccountID string `json:"owner_account_id"`
Name string `json:"name"`
Icon string `json:"icon,omitempty"`
Announcement string `json:"announcement,omitempty"`
Intro string `json:"intro,omitempty"`
MembersLimit int `json:"members_limit"`
MemberCount int `json:"member_count"`
ServerExtension string `json:"server_extension,omitempty"`
CustomerExtension string `json:"customer_extension,omitempty"`
CreateTime int64 `json:"create_time"`
UpdateTime int64 `json:"update_time"`
TeamType int `json:"team_type"`
Configuration *TeamConfiguration `json:"configuration,omitempty"`
}
type BaseRes[T any] struct {
Code int
Msg string
Data T
}