feat: 完善养成管理后台功能
This commit is contained in:
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user