67 lines
1.7 KiB
Go

// Package activity
// @Link https://github.com/bufanyun/hotgo
// @Copyright Copyright (c) 2025 HotGo CLI
// @Author Ms <133814250@qq.com>
// @License https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.17.8
package activity
import (
"hotgo/internal/model/input/form"
"hotgo/internal/model/input/sysin"
"github.com/gogf/gf/v2/frame/g"
)
// ListReq 查询活动管理列表
type ListReq struct {
g.Meta `path:"/activity/list" method:"get" tags:"活动管理" summary:"获取活动管理列表"`
sysin.ActivityListInp
}
type ListRes struct {
form.PageRes
List []*sysin.ActivityListModel `json:"list" dc:"数据列表"`
}
// ExportReq 导出活动管理列表
type ExportReq struct {
g.Meta `path:"/activity/export" method:"get" tags:"活动管理" summary:"导出活动管理列表"`
sysin.ActivityListInp
}
type ExportRes struct{}
// ViewReq 获取活动管理指定信息
type ViewReq struct {
g.Meta `path:"/activity/view" method:"get" tags:"活动管理" summary:"获取活动管理指定信息"`
sysin.ActivityViewInp
}
type ViewRes struct {
*sysin.ActivityViewModel
}
// EditReq 修改/新增活动管理
type EditReq struct {
g.Meta `path:"/activity/edit" method:"post" tags:"活动管理" summary:"修改/新增活动管理"`
sysin.ActivityEditInp
}
type EditRes struct{}
// DeleteReq 删除活动管理
type DeleteReq struct {
g.Meta `path:"/activity/delete" method:"post" tags:"活动管理" summary:"删除活动管理"`
sysin.ActivityDeleteInp
}
type DeleteRes struct{}
// StatusReq 更新活动管理状态
type StatusReq struct {
g.Meta `path:"/activity/status" method:"post" tags:"活动管理" summary:"更新活动管理状态"`
sysin.ActivityStatusInp
}
type StatusRes struct{}