package game import ( "github.com/gogf/gf/v2/frame/g" "tyj_admin/internal/model/entity" ) // 修改GM权限 type ChangeGmReq struct { g.Meta `path:"/mange/changegm" tags:"修改GM权限" method:"post" summary:"修改GM权限"` Account string `p:"account"` ChangeValue int `p:"changeValue"` //0开,1关 ServerId int `p:"serverId"` //0,总服,其他分服 } type ChangeGmRes struct { } type SearchGmReq struct { g.Meta `path:"/mange/searchgm" tags:"修改GM权限" method:"post" summary:"修改GM权限"` Account string `p:"account"` ServerId int `p:"serverId"` //0,总服,其他分服 } type SearchGmRes struct { g.Meta `mime:"application/json"` Gm int `p:"gm"` } type ResetPwdReq struct { g.Meta `path:"/mange/resetpwd" tags:"修改登录密码" method:"post" summary:"修改登录密码"` Account string `p:"account"` Pwd string `p:"pwd"` } type ResetPwdRes struct { } type MigrateSearchReq struct { g.Meta `path:"/mange/migratesearch" tags:"迁移查询" method:"get" summary:"迁移查询"` SrcServerId int `json:"srcServerId"` SrcUid int32 `json:"srcUid"` DesServerId int `json:"desServerId"` DrcUid int32 `json:"drcUid"` } type MigrateSearchRes struct { g.Meta `mime:"application/json"` RoleList []*entity.RoleDetail `json:"list"` } type MigrateReq struct { g.Meta `path:"/mange/migrate" tags:"迁移" method:"get" summary:"迁移"` SrcServerId int `json:"srcServerId"` SrcUid int32 `json:"srcUid"` DesServerId int `json:"desServerId"` DesUid int32 `json:"desUid"` } type MigrateRes struct { } type StatisticsReq struct { g.Meta `path:"/mange/statistics" tags:"统计数据" method:"get" summary:"统计数据"` LowTime int64 `json:"lowTime"` UpTime int64 `json:"upTime"` } type StatisticsRes struct { g.Meta `mime:"application/json"` RegisterNum int64 `json:"registerNum"` DepositNum int64 `json:"depositNum"` Sum int32 `json:"sum"` //总充值 Remain []*entity.Remain `json:"list"` }