package game import ( "github.com/gogf/gf/v2/frame/g" commonApi "tyj_admin/api/v1/common" "tyj_admin/internal/model/entity" ) type ClientBugAddReq struct { g.Meta `path:"/client/bugadd" tags:"BUG" method:"post" summary:"增加BUG"` Uid int32 `p:"uid"` LogType string `p:"logType" ` Bug string `p:"logString"` StackTrace string `p:"stackTrace"` Channel string `p:"channel"` SubChannel string `p:"subChannel"` DeviceModel string `p:"deviceModel"` DeviceType string `p:"deviceType"` OperationSystem string `p:"operationSystem"` SystemMemorySize string `p:"systemMemorySize"` } type ClientBugAddRes struct { } type ClientBugListReq struct { g.Meta `path:"/client/buglist" tags:"BUG" method:"get" summary:"BUG列表"` LowTime int64 `p:"lowTime"` UpTime int64 `p:"upTime"` Uid int64 `p:"uid"` Log string `p:"log"` Stack string `p:"stack"` State int64 `p:"state"` //0表示所有的,1表示没处理的,2表示处理完的 commonApi.PageReq } type ClientBugListRes struct { g.Meta `mime:"application/json"` Bugs []*entity.GameBugClient `json:"list"` commonApi.ListRes } type OperateClientBugReq struct { g.Meta `path:"/client/operatebug" tags:"BUG" method:"post" summary:"处理BUG"` Id int32 `p:"id"` } type OperateClientBugRes struct { }