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.
76 lines
1.9 KiB
76 lines
1.9 KiB
package game |
|
|
|
import ( |
|
"github.com/gogf/gf/v2/frame/g" |
|
) |
|
|
|
type SetAuditModeReq struct { |
|
g.Meta `path:"/set/auditMode" tags:"set接口" method:"post" summary:"审核模式"` |
|
AuditMode int `p:"auditMode" ` // 1-不需要走热更新; 0-需要走热更新 |
|
Channel string `p:"channel"` |
|
Version string `p:"version"` |
|
Name string `p:"name"` |
|
} |
|
|
|
type SetAuditModeRes struct { |
|
g.Meta `mime:"application/json"` |
|
} |
|
|
|
type DelAuditModeReq struct { |
|
g.Meta `path:"/set/delAuditMode" tags:"set接口" method:"post" summary:"审核模式"` |
|
Label string `p:"label"` |
|
Name string `p:"name"` |
|
} |
|
|
|
type DelAuditModeRes struct { |
|
g.Meta `mime:"application/json"` |
|
} |
|
|
|
type AuditModeReq struct { |
|
g.Meta `path:"/set/checkAuditMode" tags:"set接口" method:"get" summary:"auditMode"` |
|
Channel string `p:"channel"` |
|
Version string `p:"version"` |
|
} |
|
|
|
type AuditModeRes struct { |
|
g.Meta `mime:"application/json"` |
|
AuditMode int32 `json:"auditMode"` |
|
} |
|
|
|
type GetAllAuditModeReq struct { |
|
g.Meta `path:"/set/getAllAuditMode" tags:"set接口" method:"get" summary:"getAllAuditMode"` |
|
Name string `p:"name"` |
|
} |
|
|
|
type GetAllAuditModeRes struct { |
|
g.Meta `mime:"application/json"` |
|
List map[string]string `json:"list"` |
|
} |
|
|
|
type GetAllowChannelReq struct { |
|
g.Meta `path:"/set/getAllowChannel" tags:"set接口" method:"get" summary:"getAllowChannel"` |
|
} |
|
|
|
type GetAllowChannelRes struct { |
|
g.Meta `mime:"application/json"` |
|
List map[string]string `json:"list"` |
|
} |
|
|
|
type SetAllowChannelReq struct { |
|
g.Meta `path:"/set/allowChannel" tags:"set接口" method:"post" summary:"审核模式"` |
|
Channel string `p:"channel"` |
|
Version string `p:"version"` |
|
} |
|
|
|
type SetAllowChannelRes struct { |
|
g.Meta `mime:"application/json"` |
|
} |
|
|
|
type DelAllowChannelReq struct { |
|
g.Meta `path:"/set/delAllowChannel" tags:"set接口" method:"post" summary:"审核模式"` |
|
Label string `p:"label"` |
|
} |
|
|
|
type DelAllowChannelRes struct { |
|
g.Meta `mime:"application/json"` |
|
}
|
|
|