feat: add IM governance admin enhancements

This commit is contained in:
richjohnrambo
2026-08-21 16:06:29 +08:00
parent 543c7b624e
commit 21a5b97ac8
34 changed files with 2621 additions and 135 deletions
+46
View File
@@ -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{}