chore: seed migration objects batch 20
This commit is contained in:
@@ -0,0 +1,110 @@
|
||||
// Package imgroup
|
||||
// @Link https://github.com/bufanyun/hotgo
|
||||
// @Copyright Copyright (c) 2026 HotGo
|
||||
// @Author Ms <133814250@qq.com>
|
||||
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
|
||||
package imgroup
|
||||
|
||||
import (
|
||||
"hotgo/internal/model/input/form"
|
||||
"hotgo/internal/model/input/sysin"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
// ListReq 查询IM群组列表
|
||||
type ListReq struct {
|
||||
g.Meta `path:"/imGroup/list" method:"get" tags:"IM群组" summary:"获取IM群组列表"`
|
||||
sysin.ImGroupListInp
|
||||
}
|
||||
|
||||
type ListRes struct {
|
||||
form.PageRes
|
||||
List []*sysin.ImGroupListModel `json:"list" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// ViewReq 获取IM群组指定信息
|
||||
type ViewReq struct {
|
||||
g.Meta `path:"/imGroup/view" method:"get" tags:"IM群组" summary:"获取IM群组指定信息"`
|
||||
sysin.ImGroupViewInp
|
||||
}
|
||||
|
||||
type ViewRes struct {
|
||||
*sysin.ImGroupViewModel
|
||||
}
|
||||
|
||||
// MemberListReq 查询IM群成员列表
|
||||
type MemberListReq struct {
|
||||
g.Meta `path:"/imGroup/memberList" method:"get" tags:"IM群组" summary:"获取IM群成员列表"`
|
||||
sysin.ImGroupMemberListInp
|
||||
}
|
||||
|
||||
type MemberListRes struct {
|
||||
form.PageRes
|
||||
List []*sysin.ImGroupMemberListModel `json:"list" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// GovernanceReq 获取IM群治理配置
|
||||
type GovernanceReq struct {
|
||||
g.Meta `path:"/imGroup/governance" method:"get" tags:"IM群组" summary:"获取IM群治理配置"`
|
||||
sysin.ImGroupTopicInp
|
||||
}
|
||||
|
||||
type GovernanceRes struct {
|
||||
*sysin.ImGroupGovernanceModel
|
||||
}
|
||||
|
||||
// JoinRequestListReq 查询IM入群申请列表
|
||||
type JoinRequestListReq struct {
|
||||
g.Meta `path:"/imGroup/joinRequestList" method:"get" tags:"IM群组" summary:"获取IM入群申请列表"`
|
||||
sysin.ImGroupJoinRequestListInp
|
||||
}
|
||||
|
||||
type JoinRequestListRes struct {
|
||||
form.PageRes
|
||||
List []*sysin.ImGroupJoinRequestListModel `json:"list" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// InvitationListReq 查询IM群邀请列表
|
||||
type InvitationListReq struct {
|
||||
g.Meta `path:"/imGroup/invitationList" method:"get" tags:"IM群组" summary:"获取IM群邀请列表"`
|
||||
sysin.ImGroupInvitationListInp
|
||||
}
|
||||
|
||||
type InvitationListRes struct {
|
||||
form.PageRes
|
||||
List []*sysin.ImGroupInvitationListModel `json:"list" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// AnnouncementListReq 查询IM群公告列表
|
||||
type AnnouncementListReq struct {
|
||||
g.Meta `path:"/imGroup/announcementList" method:"get" tags:"IM群组" summary:"获取IM群公告列表"`
|
||||
sysin.ImGroupAnnouncementListInp
|
||||
}
|
||||
|
||||
type AnnouncementListRes struct {
|
||||
form.PageRes
|
||||
List []*sysin.ImGroupAnnouncementListModel `json:"list" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// MuteListReq 查询IM群禁言列表
|
||||
type MuteListReq struct {
|
||||
g.Meta `path:"/imGroup/muteList" method:"get" tags:"IM群组" summary:"获取IM群禁言列表"`
|
||||
sysin.ImGroupMuteListInp
|
||||
}
|
||||
|
||||
type MuteListRes struct {
|
||||
form.PageRes
|
||||
List []*sysin.ImGroupMuteListModel `json:"list" dc:"数据列表"`
|
||||
}
|
||||
|
||||
// AdminLogListReq 查询IM群管理日志列表
|
||||
type AdminLogListReq struct {
|
||||
g.Meta `path:"/imGroup/adminLogList" method:"get" tags:"IM群组" summary:"获取IM群管理日志列表"`
|
||||
sysin.ImGroupAdminLogListInp
|
||||
}
|
||||
|
||||
type AdminLogListRes struct {
|
||||
form.PageRes
|
||||
List []*sysin.ImGroupAdminLogListModel `json:"list" dc:"数据列表"`
|
||||
}
|
||||
Reference in New Issue
Block a user