package game import "github.com/gogf/gf/v2/frame/g" // 修改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 { Account string `p:"account"` ServerId int `p:"serverId"` //0,总服,其他分服 } 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 { Result int `p:"result"` }