You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.3 KiB
49 lines
1.3 KiB
|
1 day ago
|
package game
|
||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/gogf/gf/v2/frame/g"
|
||
|
|
"tyj_admin/api/v1/common"
|
||
|
|
"tyj_admin/internal/model/entity"
|
||
|
|
)
|
||
|
|
|
||
|
|
type GetActivityConfigsReq struct {
|
||
|
|
g.Meta `path:"/gameActivity/list" tags:"gameActivity" method:"get" summary:"获取"`
|
||
|
|
common.PageReq
|
||
|
|
ServerId int32 `p:"serverId"`
|
||
|
|
}
|
||
|
|
type GetActivityConfigsRes struct {
|
||
|
|
g.Meta `mime:"application/json"`
|
||
|
|
List []entity.GameActivityTime `json:"list"`
|
||
|
|
common.ListRes
|
||
|
|
}
|
||
|
|
|
||
|
|
type GetAllGameActivityReq struct {
|
||
|
|
g.Meta `path:"/gameActivity/get" tags:"gameActivity" method:"get" summary:"获取"`
|
||
|
|
ServerId int32 `p:"serverId"`
|
||
|
|
}
|
||
|
|
type GetAllGameActivityRes struct {
|
||
|
|
g.Meta `mime:"application/json"`
|
||
|
|
List []entity.GameActivityTime `json:"list"`
|
||
|
|
}
|
||
|
|
|
||
|
|
type AddActivityConfigReq struct {
|
||
|
|
g.Meta `path:"/gameActivity/add" tags:"gameActivity" method:"get" summary:"添加gameActivity"`
|
||
|
|
Id int32 `p:"id"`
|
||
|
|
ServerId int32 `p:"serverId"`
|
||
|
|
ConfigId int32 `p:"configId"`
|
||
|
|
PreviewTime string `p:"previewTime"`
|
||
|
|
StartTime string `p:"startTime"`
|
||
|
|
EndTime string `p:"endTime"`
|
||
|
|
CloseTime string `p:"closeTime"`
|
||
|
|
Remark string `p:"remark"`
|
||
|
|
}
|
||
|
|
type AddActivityConfigRes struct {
|
||
|
|
}
|
||
|
|
|
||
|
|
type DelActivityConfigReq struct {
|
||
|
|
g.Meta `path:"/gameActivity/del" tags:"gameActivity" method:"get" summary:"删除热更地址"`
|
||
|
|
Id int32 `p:"id"`
|
||
|
|
}
|
||
|
|
type DelActivityConfigRes struct {
|
||
|
|
}
|