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.

87 lines
2.1 KiB

1 month ago
package game
import (
"github.com/gogf/gf/v2/frame/g"
"tyj_admin/api/v1/common"
"tyj_admin/internal/model/entity"
)
type GetModelReq struct {
g.Meta `path:"/model/get" tags:"模板" method:"get" summary:"获取模板"`
MType int64 `p:"mType"`
Id int64 `p:"id"`
}
type GetModelRes struct {
g.Meta `mime:"application/json"`
Model []map[string]interface{} `json:"model"`
}
type UpdateModelReq struct {
g.Meta `path:"/model/update" tags:"模板" method:"get" summary:"更新模板"`
Model map[string]interface{} `p:"model"`
}
type UpdateModelRes struct {
}
type InsertModelReq struct {
g.Meta `path:"/model/insert" tags:"模板" method:"get" summary:"添加模板"`
Model map[string]interface{} `p:"model"`
}
type InsertModelRes struct {
}
type DelModelReq struct {
g.Meta `path:"/model/del" tags:"模板" method:"get" summary:"删除模板"`
Id int64 `p:"id"`
StallId int32 `p:"stallId"`
}
type DelModelRes struct {
}
type GetOperLogReq struct {
g.Meta `path:"/log/getOperLog" tags:"log接口" method:"get" summary:"操作日志"`
Label string `p:"label"`
common.PageReq
}
type GetOperLogRes struct {
g.Meta `mime:"application/json"`
List []entity.SysOperLog `json:"list"`
common.ListRes
}
type GetLoginOutGmReq struct {
g.Meta `path:"/loginOut/getGm" tags:"log接口" method:"get" summary:"操作日志"`
UnitId int64 `p:"uid"`
Uid string `p:"id"`
Account string `p:"account"`
State int `p:"state"`
CompareType int `p:"compareType"`
RechargeTotal int `p:"rechargeTotal"`
ServerId int `p:"serverId"`
StoneAmount int `p:"stoneAmount"`
VouchersNum int `p:"vouchersNum"`
1 month ago
GoldIngot int `p:"goldIngot"`
1 month ago
CDate int64 `p:"cDate"`
common.PageReq
}
type GetLoginOutGmRes struct {
g.Meta `mime:"application/json"`
Logs []entity.LoginLogoutInfoGm `json:"logs"`
common.ListRes
}
type ReConfigServerReq struct {
g.Meta `path:"/reloadServer" tags:"内部接口" method:"get" summary:"重置服务器列表"`
SType int32 `p:"sType"`
}
type ReConfigServerRes struct {
g.Meta `mime:"application/json"`
}