feat: add IM admin P2 configuration modules
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
package imabusereason
|
||||
|
||||
import (
|
||||
"hotgo/internal/model/input/form"
|
||||
"hotgo/internal/model/input/sysin"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type ListReq struct {
|
||||
g.Meta `path:"/imAbuseReason/list" method:"get" tags:"IM举报原因" summary:"获取IM举报原因列表"`
|
||||
sysin.ImAbuseReasonListInp
|
||||
}
|
||||
|
||||
type ListRes struct {
|
||||
form.PageRes
|
||||
List []*sysin.ImAbuseReasonModel `json:"list" dc:"数据列表"`
|
||||
}
|
||||
|
||||
type EditReq struct {
|
||||
g.Meta `path:"/imAbuseReason/edit" method:"post" tags:"IM举报原因" summary:"新增/编辑IM举报原因"`
|
||||
sysin.ImAbuseReasonEditInp
|
||||
}
|
||||
|
||||
type EditRes struct{}
|
||||
|
||||
type DeleteReq struct {
|
||||
g.Meta `path:"/imAbuseReason/delete" method:"post" tags:"IM举报原因" summary:"禁用IM举报原因"`
|
||||
sysin.ImAbuseReasonDeleteInp
|
||||
}
|
||||
|
||||
type DeleteRes struct{}
|
||||
@@ -0,0 +1,25 @@
|
||||
package imapprelease
|
||||
|
||||
import (
|
||||
"hotgo/internal/model/input/form"
|
||||
"hotgo/internal/model/input/sysin"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type ListReq struct {
|
||||
g.Meta `path:"/imAppRelease/list" method:"get" tags:"IM版本更新" summary:"获取IM客户端版本策略列表"`
|
||||
sysin.ImAppReleaseListInp
|
||||
}
|
||||
|
||||
type ListRes struct {
|
||||
form.PageRes
|
||||
List []*sysin.ImAppReleaseModel `json:"list" dc:"数据列表"`
|
||||
}
|
||||
|
||||
type EditReq struct {
|
||||
g.Meta `path:"/imAppRelease/edit" method:"post" tags:"IM版本更新" summary:"新增/编辑IM客户端版本策略"`
|
||||
sysin.ImAppReleaseEditInp
|
||||
}
|
||||
|
||||
type EditRes struct{}
|
||||
@@ -0,0 +1,23 @@
|
||||
package imfeedbackconfig
|
||||
|
||||
import (
|
||||
"hotgo/internal/model/input/sysin"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type GetReq struct {
|
||||
g.Meta `path:"/imFeedbackConfig/get" method:"get" tags:"IM意见反馈配置" summary:"获取IM意见反馈配置"`
|
||||
sysin.ImFeedbackConfigGetInp
|
||||
}
|
||||
|
||||
type GetRes struct {
|
||||
*sysin.ImFeedbackConfigModel
|
||||
}
|
||||
|
||||
type UpdateReq struct {
|
||||
g.Meta `path:"/imFeedbackConfig/update" method:"post" tags:"IM意见反馈配置" summary:"更新IM意见反馈配置"`
|
||||
sysin.ImFeedbackConfigUpdateInp
|
||||
}
|
||||
|
||||
type UpdateRes struct{}
|
||||
@@ -0,0 +1,23 @@
|
||||
package immailboxconfig
|
||||
|
||||
import (
|
||||
"hotgo/internal/model/input/sysin"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type GetReq struct {
|
||||
g.Meta `path:"/imMailboxConfig/get" method:"get" tags:"IM总经理信箱配置" summary:"获取IM总经理信箱配置"`
|
||||
sysin.ImMailboxConfigGetInp
|
||||
}
|
||||
|
||||
type GetRes struct {
|
||||
*sysin.ImMailboxConfigModel
|
||||
}
|
||||
|
||||
type UpdateReq struct {
|
||||
g.Meta `path:"/imMailboxConfig/update" method:"post" tags:"IM总经理信箱配置" summary:"更新IM总经理信箱配置"`
|
||||
sysin.ImMailboxConfigUpdateInp
|
||||
}
|
||||
|
||||
type UpdateRes struct{}
|
||||
@@ -0,0 +1,39 @@
|
||||
package imworkbench
|
||||
|
||||
import (
|
||||
"hotgo/internal/model/input/form"
|
||||
"hotgo/internal/model/input/sysin"
|
||||
|
||||
"github.com/gogf/gf/v2/frame/g"
|
||||
)
|
||||
|
||||
type ListReq struct {
|
||||
g.Meta `path:"/imWorkbench/list" method:"get" tags:"IM工作台" summary:"获取IM工作台模块列表"`
|
||||
sysin.ImWorkbenchAppListInp
|
||||
}
|
||||
|
||||
type ListRes struct {
|
||||
form.PageRes
|
||||
List []*sysin.ImWorkbenchAppModel `json:"list" dc:"数据列表"`
|
||||
}
|
||||
|
||||
type EditReq struct {
|
||||
g.Meta `path:"/imWorkbench/edit" method:"post" tags:"IM工作台" summary:"新增/编辑IM工作台模块"`
|
||||
sysin.ImWorkbenchAppEditInp
|
||||
}
|
||||
|
||||
type EditRes struct{}
|
||||
|
||||
type DeleteReq struct {
|
||||
g.Meta `path:"/imWorkbench/delete" method:"post" tags:"IM工作台" summary:"禁用IM工作台模块"`
|
||||
sysin.ImWorkbenchAppDeleteInp
|
||||
}
|
||||
|
||||
type DeleteRes struct{}
|
||||
|
||||
type ReorderReq struct {
|
||||
g.Meta `path:"/imWorkbench/reorder" method:"post" tags:"IM工作台" summary:"调整IM工作台模块排序"`
|
||||
sysin.ImWorkbenchAppReorderInp
|
||||
}
|
||||
|
||||
type ReorderRes struct{}
|
||||
Reference in New Issue
Block a user