updatetablestatus

package
v0.0.0-...-905ac7b Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	/**
	 *  桌位id
	 */
	TableId string `json:"tableId"`
	/**
	 *  就餐时间 unix时间戳
	 */
	OrderTime int32 `json:"orderTime"`
	/**
	 *  锁台开始时间 unix时间戳
	 */
	StartTime int32 `json:"startTime"`
	/**
	 *  锁台结束时间 unix时间戳
	 */
	EndTime int32 `json:"endTime"`
	/**
	 *  桌位状态 0:锁台 1:解锁
	 */
	Status int32 `json:"status"`
	/**
	 *  餐段,与门店配置中餐段一致
	 */
	TimePeriod int32 `json:"timePeriod"`
	/**
	 *  推送时间 当前时间戳
	 */
	ChangeTime int32 `json:"changeTime"`
}

type UpdateTableStatusRequest

type UpdateTableStatusRequest struct {
	Data []Data `json:"data"`
}

func (*UpdateTableStatusRequest) DoInvoke

func (req *UpdateTableStatusRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*UpdateTableStatusResponse, error)

type UpdateTableStatusResponse

type UpdateTableStatusResponse struct {
	Code string `json:"code"`
	Msg  string `json:"msg"`
	/**
	 * 返回的数据
	 */
	Data    string `json:"data"`
	TraceId string `json:"traceId"`
}

func (*UpdateTableStatusResponse) IsSuccess

func (response *UpdateTableStatusResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

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