servestatusupdate

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 MopBusinessHour

type MopBusinessHour struct {
}

type ResultData

type ResultData struct {
}

type ServeStatusUpdateRequest

type ServeStatusUpdateRequest struct {
	/**
	 *  厂商配置列表,单次请求批量限制20
	 */
	VendorServiceConfigDTOS []VendorServiceConfigRequest `json:"vendorServiceConfigDTOS"`
}

func (*ServeStatusUpdateRequest) DoInvoke

func (req *ServeStatusUpdateRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*ServeStatusUpdateResponse, error)

type ServeStatusUpdateResponse

type ServeStatusUpdateResponse struct {
	Code string `json:"code"`
	Msg  string `json:"msg"`
	/**
	 * Key:vendorShopId(品牌门店id) Value:OperateResulst(操作结果)
	 */
	Data    ResultData `json:"data"`
	TraceId string     `json:"traceId"`
}

func (*ServeStatusUpdateResponse) IsSuccess

func (response *ServeStatusUpdateResponse) IsSuccess() bool

type VendorServiceConfigRequest

type VendorServiceConfigRequest struct {
	/**
	 *  厂商门店ID
	 */
	VendorShopId string `json:"vendorShopId"`
	/**
	 *  线上点营业时间,需要提前约定好同步模式,支持天模式/周模式: 天模式(key值为具体时间,仅支持更新未来7天内的营业时间) 未来7天的营业时间 { "2021-12-01":// [{ "startTime":"08:00", //Time "endTime":"12:00" }], "2021-12-02":[{ "startTime":"08:00", "endTime":"18:00" }] } 周模式(key值为星期几) { "1":// [{ "startTime":"08:00", //Time "endTime":"12:00" }], "2":[{ "startTime":"08:00", "endTime":"18:00" }] ... }
	 */
	MopBusinessHour MopBusinessHour `json:"mopBusinessHour"`
	/**
	 *  线上点服务开关,控制线上点菜单是否能用 10: 营业 20:歇业
	 */
	VendorServiceOpen int32 `json:"vendorServiceOpen"`
}

Jump to

Keyboard shortcuts

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