feat: add IM file policy and org exports
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package imfilepolicy
|
||||
|
||||
import (
|
||||
"hotgo/internal/model/input/form"
|
||||
"hotgo/internal/model/input/sysin"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type ListReq struct {
|
||||
g.Meta `path:"/imFilePolicy/list" method:"get" tags:"IM文件策略" summary:"获取IM文件策略列表"`
|
||||
sysin.ImFilePolicyListInp
|
||||
}
|
||||
|
||||
type ListRes struct {
|
||||
form.PageRes
|
||||
List []*sysin.ImFilePolicyListModel `json:"list" dc:"数据列表"`
|
||||
}
|
||||
|
||||
type UpdateReq struct {
|
||||
g.Meta `path:"/imFilePolicy/update" method:"post" tags:"IM文件策略" summary:"更新IM文件策略"`
|
||||
sysin.ImFilePolicyUpdateInp
|
||||
}
|
||||
|
||||
type UpdateRes struct{}
|
||||
@@ -17,6 +17,13 @@ type DepartmentListRes struct {
|
||||
List []*sysin.ImOrgDepartmentModel `json:"list" dc:"数据列表"`
|
||||
}
|
||||
|
||||
type DepartmentExportReq struct {
|
||||
g.Meta `path:"/imOrg/departmentExport" method:"get" tags:"IM组织架构" summary:"导出IM组织部门列表"`
|
||||
sysin.ImOrgDepartmentListInp
|
||||
}
|
||||
|
||||
type DepartmentExportRes struct{}
|
||||
|
||||
type DepartmentEditReq struct {
|
||||
g.Meta `path:"/imOrg/departmentEdit" method:"post" tags:"IM组织架构" summary:"新增/编辑IM组织部门"`
|
||||
sysin.ImOrgDepartmentEditInp
|
||||
@@ -41,6 +48,13 @@ type MemberListRes struct {
|
||||
List []*sysin.ImOrgMemberModel `json:"list" dc:"数据列表"`
|
||||
}
|
||||
|
||||
type MemberExportReq struct {
|
||||
g.Meta `path:"/imOrg/memberExport" method:"get" tags:"IM组织架构" summary:"导出IM组织成员列表"`
|
||||
sysin.ImOrgMemberListInp
|
||||
}
|
||||
|
||||
type MemberExportRes struct{}
|
||||
|
||||
type MemberEditReq struct {
|
||||
g.Meta `path:"/imOrg/memberEdit" method:"post" tags:"IM组织架构" summary:"新增/编辑IM组织成员"`
|
||||
sysin.ImOrgMemberEditInp
|
||||
|
||||
Reference in New Issue
Block a user