package
Version:
v0.0.0-...-2022bb5
Opens a new window with list of versions in this module.
Published: Oct 23, 2024
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type GetLayoutReq struct {
g.Meta `path:"seat/layout/{id}" method:"get" sm:"获取layout详情" tags:"seat"`
*data.IdInput
}
type GetLayoutRes struct {
Id data.Id `json:"id"`
LocationId data.Id `json:"locationId"`
LocationName string `json:"locationName"`
LayoutName string `json:"layoutName"`
Map string `json:"map"`
}
type GetLayoutRuntimeReq struct {
g.Meta `path:"seat/layout/{id}/runtime" method:"get" sm:"获取layout运行时信息" tags:"seat"`
*data.IdInput
}
type GetLayoutRuntimeRes struct {
Map string `json:"map"`
}
type GetLayoutsReq struct {
g.Meta `path:"seat/layouts" method:"get" sm:"获取layout列表" tags:"seat"`
}
type GetLayoutsRes struct {
Layouts []Layout `json:"layouts" sm:"layout列表"`
}
type InitLayoutReq struct {
g.Meta `path:"/seat/layout/init" method:"post" sm:"初始化layout" tags:"seat"`
*data.IdInput
}
type InitLayoutRes struct {
}
type Layout struct {
Id int `json:"id" sm:"id"`
Name string `json:"name" sm:"名称"`
Seats int `json:"seats" sm:"座位数"`
}
type ReserveReq struct {
g.Meta `path:"seat/reserve" method:"post" sm:"预约座位" tags:"seat"`
LocationId data.Id `json:"locationId"`
CellNo int `json:"cellNo"`
}
type ReserveRes struct {
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.