feat: 完善养成管理后台功能

This commit is contained in:
richjohnrambo
2026-09-19 17:07:47 +08:00
parent f6766d3dbd
commit c7265252d8
13 changed files with 1257 additions and 61 deletions
@@ -19,6 +19,21 @@ type ReviewReq struct {
sysin.CultivateContentReviewInp
}
type ReviewRes struct{}
type BatchReviewReq struct {
g.Meta `path:"/cultivate/content/batch-review" method:"post" tags:"养成管理" summary:"批量审核或下架动态评论"`
sysin.CultivateContentBatchReviewInp
}
type BatchReviewRes struct {
*sysin.CultivateContentBatchReviewModel
}
type ViewReq struct {
g.Meta `path:"/cultivate/content/view" method:"get" tags:"养成管理" summary:"获取内容审核详情"`
sysin.CultivateContentViewInp
}
type ViewRes struct {
*sysin.CultivateContentViewModel
}
type ReportListReq struct {
g.Meta `path:"/cultivate/reports/list" method:"get" tags:"养成管理" summary:"获取举报列表"`
sysin.CultivateReportListInp
@@ -32,6 +47,13 @@ type ReportHandleReq struct {
sysin.CultivateReportHandleInp
}
type ReportHandleRes struct{}
type ReportViewReq struct {
g.Meta `path:"/cultivate/reports/view" method:"get" tags:"养成管理" summary:"获取举报详情"`
sysin.CultivateReportViewInp
}
type ReportViewRes struct {
*sysin.CultivateReportViewModel
}
type LogListReq struct {
g.Meta `path:"/cultivate/logs/list" method:"get" tags:"养成管理" summary:"获取养成管理操作日志"`
sysin.CultivateOperationLogListInp
@@ -40,3 +62,8 @@ type LogListRes struct {
form.PageRes
List []*sysin.CultivateOperationLogListModel `json:"list"`
}
type DashboardReq struct {
g.Meta `path:"/cultivate/dashboard" method:"get" tags:"养成管理" summary:"获取养成管理统计"`
sysin.CultivateDashboardInp
}
type DashboardRes struct{ *sysin.CultivateDashboardModel }