v1

package
v0.0.0-...-2022bb5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetLayoutReq

type GetLayoutReq struct {
	g.Meta `path:"seat/layout/{id}" method:"get" sm:"获取layout详情" tags:"seat"`
	*data.IdInput
}

type GetLayoutRes

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

type GetLayoutRuntimeReq struct {
	g.Meta `path:"seat/layout/{id}/runtime" method:"get" sm:"获取layout运行时信息" tags:"seat"`
	*data.IdInput
}

type GetLayoutRuntimeRes

type GetLayoutRuntimeRes struct {
	Map string `json:"map"`
}

type GetLayoutsReq

type GetLayoutsReq struct {
	g.Meta `path:"seat/layouts" method:"get" sm:"获取layout列表" tags:"seat"`
}

type GetLayoutsRes

type GetLayoutsRes struct {
	Layouts []Layout `json:"layouts" sm:"layout列表"`
}

type InitLayoutReq

type InitLayoutReq struct {
	g.Meta `path:"/seat/layout/init" method:"post" sm:"初始化layout" tags:"seat"`
	*data.IdInput
}

type InitLayoutRes

type InitLayoutRes struct {
}

type Layout

type Layout struct {
	Id    int    `json:"id" sm:"id"`
	Name  string `json:"name" sm:"名称"`
	Seats int    `json:"seats" sm:"座位数"`
}

type ReserveReq

type ReserveReq struct {
	g.Meta     `path:"seat/reserve" method:"post" sm:"预约座位" tags:"seat"`
	LocationId data.Id `json:"locationId"`
	CellNo     int     `json:"cellNo"`
}

type ReserveRes

type ReserveRes struct {
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL