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.
44 lines
1.1 KiB
44 lines
1.1 KiB
package game |
|
|
|
import ( |
|
"github.com/gogf/gf/v2/frame/g" |
|
commonApi "tyj_admin/api/v1/common" |
|
"tyj_admin/internal/model/entity" |
|
) |
|
|
|
type BugAddReq struct { |
|
g.Meta `path:"/custom/bugadd" tags:"增加BUG" method:"post" summary:"增加BUG"` |
|
Uid int32 `p:"uid" v:"required#uid不能为空"` |
|
Server int32 `p:"server" ` |
|
Qq string `p:"qq" ` |
|
Tel string `p:"tel" ` |
|
Bug string `p:"bug"` |
|
OccurrenceTime int64 `p:"occurrenceTime"` |
|
CreateTime int64 `p:"createTime"` |
|
State int32 `p:"state"` |
|
} |
|
|
|
type BugAddRes struct { |
|
} |
|
|
|
type BugListReq struct { |
|
g.Meta `path:"/custom/buglist" tags:"BUG列表" method:"get" summary:"BUG列表"` |
|
LowTime int64 `p:"lowTime"` |
|
UpTime int64 `p:"upTime"` |
|
State int64 `p:"state"` //0表示所有的,1表示没处理的,2表示处理完的 |
|
commonApi.PageReq |
|
} |
|
|
|
type BugListRes struct { |
|
g.Meta `mime:"application/json"` |
|
Bugs []*entity.GameBug `json:"list"` |
|
commonApi.ListRes |
|
} |
|
|
|
type OperateBugReq struct { |
|
g.Meta `path:"/custom/operatebug" tags:"处理BUG" method:"post" summary:"处理BUG"` |
|
Id int32 `p:"Id"` |
|
} |
|
|
|
type OperateBugRes struct { |
|
}
|
|
|