seat_handle

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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCell

func GetCell(ctx context.Context, layoutId, cellNo int) (cell layout.Cell, err error)

GetCell 获取座位信息

func GetCellStatus

func GetCellStatus(ctx context.Context, t seat.Type) (status layout.CellStatus)

GetCellStatus 根据操作类型获取座位状态

func Reserve

func Reserve(ctx context.Context, userSeat *seat.UserSeat) (err error)

Reserve 预定座位 1. 检查座位是否已经被预定 2. 预定座位 3. 返回预定结果

Types

This section is empty.

Jump to

Keyboard shortcuts

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