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.

26 lines
741 B

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"`
}