feat: Peer share to group

This commit is contained in:
lejianwen committed 2025-04-14 19:12:40 +08:00
1 parent ae59b6a733
commit fb8ef8a1fd
12 files changed
+59 -53

No files matched your search

-12
View File
@@ -22,15 +22,3 @@ type UserOauthItem struct {
Op string `json:"op"`
Status int `json:"status"`
}
type GroupUsersPayload struct {
Id uint `json:"id"`
Username string `json:"username"`
Status int `json:"status"`
}
func (g *GroupUsersPayload) FromUser(user *model.User) {
g.Id = user.Id
g.Username = user.Username
g.Status = 1
}