Files
im_manager/server/api/admin/imoutbox/im_outbox.go
T

47 lines
1.1 KiB
Go

// Package imoutbox
// @Link https://github.com/bufanyun/hotgo
// @Copyright Copyright (c) 2026 HotGo
// @Author Ms <133814250@qq.com>
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
package imoutbox
import (
"hotgo/internal/model/input/form"
"hotgo/internal/model/input/sysin"
"github.com/gogf/gf/v2/frame/g"
)
type ListReq struct {
g.Meta `path:"/imOutbox/list" method:"get" tags:"IM Outbox" summary:"获取IM Outbox列表"`
sysin.ImOutboxListInp
}
type ListRes struct {
form.PageRes
List []*sysin.ImOutboxListModel `json:"list" dc:"数据列表"`
}
type ViewReq struct {
g.Meta `path:"/imOutbox/view" method:"get" tags:"IM Outbox" summary:"获取IM Outbox详情"`
sysin.ImOutboxViewInp
}
type ViewRes struct {
*sysin.ImOutboxViewModel
}
type RetryReq struct {
g.Meta `path:"/imOutbox/retry" method:"post" tags:"IM Outbox" summary:"重试IM Outbox事件"`
sysin.ImOutboxActionInp
}
type RetryRes struct{}
type DeadReq struct {
g.Meta `path:"/imOutbox/dead" method:"post" tags:"IM Outbox" summary:"标记IM Outbox死信"`
sysin.ImOutboxActionInp
}
type DeadRes struct{}