Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MopReserveHour ¶
type MopReserveHour struct { }
type ReserveConfigUpdateRequest ¶
type ReserveConfigUpdateRequest struct { /** * 厂商配置列表,批量限制20 */ VendorReserveConfigDTOS []VendorReserveConfigRequest `json:"vendorReserveConfigDTOS"` }
func (*ReserveConfigUpdateRequest) DoInvoke ¶
func (req *ReserveConfigUpdateRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*ReserveConfigUpdateResponse, error)
type ReserveConfigUpdateResponse ¶
type ReserveConfigUpdateResponse struct { Code string `json:"code"` Msg string `json:"msg"` /** * Key:vendorShopId(品牌门店Id) Value:OperateResulst(操作结果) */ Data ResultData `json:"data"` TraceId string `json:"traceId"` }
func (*ReserveConfigUpdateResponse) IsSuccess ¶
func (response *ReserveConfigUpdateResponse) IsSuccess() bool
type ResultData ¶
type ResultData struct { }
type VendorReserveConfigRequest ¶
type VendorReserveConfigRequest struct { /** * 厂商门店ID */ VendorShopId string `json:"vendorShopId"` /** * 是否支持预约: TRUE- 支持预约 FALSE- 不支持预约 */ MopReserveOpen bool `json:"mopReserveOpen"` /** * mopReserveOpen为true时必填 mopReserveOpen为true时必填 线上点可预约时间 { "1"://周一,DayofWeek [{ "startTime":"08:00", //Time "endTime":"12:00" }], "2"://周二 [{ "startTime":"08:00", "endTime":"18:00" }] } */ MopReserveHour MopReserveHour `json:"mopReserveHour"` /** * mopReserveOpen为true时必填 预约周期(单位分钟),用户预约选择时间的间隔 eg:配置5min,则每小时的0,5,10, ... eg:配置7min,则每小时的0,7,14,... */ MopReservePeriod int32 `json:"mopReservePeriod"` /** * mopReserveOpen为true时必填 距离现在的最早可预约时间分钟数(单位分钟) */ EarliesReserveTimeFromNowByMinutes int32 `json:"earliesReserveTimeFromNowByMinutes"` /** * 距离现在的最晚可预约时间分钟数(单位分钟) */ LatestReserveTimeFromNowByMinutes int32 `json:"latestReserveTimeFromNowByMinutes"` }
Click to show internal directories.
Click to hide internal directories.