feat: add Go backend

This commit is contained in:
richjohnrambo
2026-10-10 20:56:17 +08:00
parent 50fcfd2d3d
commit f6024f0964
1040 changed files with 107169 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
package taskhall
import (
"github.com/gogf/gf/v2/frame/g"
"hotgo/internal/model/input/form"
"hotgo/internal/model/input/sysin"
)
type ListReq struct {
g.Meta `path:"/taskHall/list" method:"get" tags:"任务大厅" summary:"任务大厅列表"`
sysin.TaskHallListInp
}
type ListRes struct {
form.PageRes
List []*sysin.TaskHallListModel `json:"list"`
}
type ViewReq struct {
g.Meta `path:"/taskHall/view" method:"get" tags:"任务大厅" summary:"任务大厅详情"`
sysin.TaskHallViewInp
}
type ViewRes struct{ *sysin.TaskHallListModel }
type EditReq struct {
g.Meta `path:"/taskHall/edit" method:"post" tags:"任务大厅" summary:"新增编辑任务大厅"`
sysin.TaskHallEditInp
}
type EditRes struct{}
type StatusReq struct {
g.Meta `path:"/taskHall/status" method:"post" tags:"任务大厅" summary:"发布下线任务大厅"`
sysin.TaskHallStatusInp
}
type StatusRes struct{}
type DeleteReq struct {
g.Meta `path:"/taskHall/delete" method:"post" tags:"任务大厅" summary:"删除任务大厅"`
sysin.TaskHallDeleteInp
}
type DeleteRes struct{}