feat: add IM governance admin enhancements
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
// 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{}
|
||||
Reference in New Issue
Block a user