40 lines
974 B
Go
40 lines
974 B
Go
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{}
|