feat: add IM org and notification admin

This commit is contained in:
richjohnrambo
2026-08-21 17:54:54 +08:00
parent c89e35d0e0
commit 204f96e07a
22 changed files with 2354 additions and 0 deletions
@@ -0,0 +1,25 @@
package imnotification
import (
"hotgo/internal/model/input/form"
"hotgo/internal/model/input/sysin"
"github.com/gogf/gf/v2/frame/g"
)
type TemplateListReq struct {
g.Meta `path:"/imNotification/templateList" method:"get" tags:"IM通知模板" summary:"获取IM通知模板列表"`
sysin.ImNotificationTemplateListInp
}
type TemplateListRes struct {
form.PageRes
List []*sysin.ImNotificationTemplateListModel `json:"list" dc:"数据列表"`
}
type TemplateUpdateReq struct {
g.Meta `path:"/imNotification/templateUpdate" method:"post" tags:"IM通知模板" summary:"更新IM通知模板"`
sysin.ImNotificationTemplateUpdateInp
}
type TemplateUpdateRes struct{}
+65
View File
@@ -0,0 +1,65 @@
package imorg
import (
"hotgo/internal/model/input/form"
"hotgo/internal/model/input/sysin"
"github.com/gogf/gf/v2/frame/g"
)
type DepartmentListReq struct {
g.Meta `path:"/imOrg/departmentList" method:"get" tags:"IM组织架构" summary:"获取IM组织部门列表"`
sysin.ImOrgDepartmentListInp
}
type DepartmentListRes struct {
form.PageRes
List []*sysin.ImOrgDepartmentModel `json:"list" dc:"数据列表"`
}
type DepartmentEditReq struct {
g.Meta `path:"/imOrg/departmentEdit" method:"post" tags:"IM组织架构" summary:"新增/编辑IM组织部门"`
sysin.ImOrgDepartmentEditInp
}
type DepartmentEditRes struct{}
type DepartmentDeleteReq struct {
g.Meta `path:"/imOrg/departmentDelete" method:"post" tags:"IM组织架构" summary:"删除IM组织部门"`
sysin.ImOrgDepartmentDeleteInp
}
type DepartmentDeleteRes struct{}
type MemberListReq struct {
g.Meta `path:"/imOrg/memberList" method:"get" tags:"IM组织架构" summary:"获取IM组织成员列表"`
sysin.ImOrgMemberListInp
}
type MemberListRes struct {
form.PageRes
List []*sysin.ImOrgMemberModel `json:"list" dc:"数据列表"`
}
type MemberEditReq struct {
g.Meta `path:"/imOrg/memberEdit" method:"post" tags:"IM组织架构" summary:"新增/编辑IM组织成员"`
sysin.ImOrgMemberEditInp
}
type MemberEditRes struct{}
type MemberDeleteReq struct {
g.Meta `path:"/imOrg/memberDelete" method:"post" tags:"IM组织架构" summary:"删除IM组织成员"`
sysin.ImOrgMemberDeleteInp
}
type MemberDeleteRes struct{}
type SearchReq struct {
g.Meta `path:"/imOrg/search" method:"get" tags:"IM组织架构" summary:"搜索IM组织"`
sysin.ImOrgSearchInp
}
type SearchRes struct {
*sysin.ImOrgSearchModel
}