42 lines
1.1 KiB
Go
42 lines
1.1 KiB
Go
package imexternalconfig
|
|
|
|
import (
|
|
"hotgo/internal/model/input/form"
|
|
"hotgo/internal/model/input/sysin"
|
|
|
|
"github.com/gogf/gf/v2/frame/g"
|
|
)
|
|
|
|
type ListReq struct {
|
|
g.Meta `path:"/imExternalConfig/list" method:"get" tags:"IM外部服务配置" summary:"获取IM外部服务配置列表"`
|
|
sysin.ImExternalConfigListInp
|
|
}
|
|
|
|
type ListRes struct {
|
|
form.PageRes
|
|
List []*sysin.ImExternalConfigListModel `json:"list" dc:"数据列表"`
|
|
}
|
|
|
|
type ViewReq struct {
|
|
g.Meta `path:"/imExternalConfig/view" method:"get" tags:"IM外部服务配置" summary:"获取IM外部服务配置详情"`
|
|
sysin.ImExternalConfigViewInp
|
|
}
|
|
|
|
type ViewRes struct {
|
|
*sysin.ImExternalConfigViewModel
|
|
}
|
|
|
|
type UpdateReq struct {
|
|
g.Meta `path:"/imExternalConfig/update" method:"post" tags:"IM外部服务配置" summary:"更新IM外部服务配置"`
|
|
sysin.ImExternalConfigUpdateInp
|
|
}
|
|
|
|
type UpdateRes struct{}
|
|
|
|
type CheckReq struct {
|
|
g.Meta `path:"/imExternalConfig/check" method:"post" tags:"IM外部服务配置" summary:"检查IM外部服务配置"`
|
|
sysin.ImExternalConfigCheckInp
|
|
}
|
|
|
|
type CheckRes struct{}
|