Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryShopsRequest ¶
type QueryShopsRequest struct { /** * 厂商门店ID(批量限制20) */ VendorShopIds []string `json:"vendorShopIds"` }
func (*QueryShopsRequest) DoInvoke ¶
func (req *QueryShopsRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*QueryShopsResponse, error)
type QueryShopsResponse ¶
type QueryShopsResponse struct { Code string `json:"code"` Msg string `json:"msg"` /** * 厂商门店配置信息列表,特殊说明:假设查询10个ID,9个能查到,List.size()==10, 返回9条VendorShopConfigDTO,1条返回failMsg */ Data []ResultData `json:"data"` TraceId string `json:"traceId"` }
func (*QueryShopsResponse) IsSuccess ¶
func (response *QueryShopsResponse) IsSuccess() bool
type ResultData ¶
type ResultData struct { /** * 厂商门店ID */ VendorShopId string `json:"vendorShopId"` /** * 门店详细配置 */ ShopConfig VendorShopConfigDTO `json:"shopConfig"` /** * 门店查询失败,返回错误原因 */ FailMsg string `json:"failMsg"` }
type VendorBizConfigDTO ¶
type VendorReserveConfigDTO ¶
type VendorReserveConfigDTO struct { /** * 是否支持预约,参数值: TRUE- 支持预约 FALSE- 不支持预约 */ MopReserveOpen string `json:"mopReserveOpen"` /** * MOP可预约时间,参数值范例: {\"1\":[{\"startTime\":\"08:00\",\"endTime\":\"20:00\"}] */ MopReserveHour string `json:"mopReserveHour"` /** * 预约周期(单位分钟),参数值范例: 5 ( 配置5min,则每小时的0,5,10, ... ) */ MopReservePeriod string `json:"mopReservePeriod"` /** * 距离现在的最早可预约时间分钟数(单位分钟),参数值范例 10 */ EarliesReserveTimeFromNowByMinutes string `json:"earliesReserveTimeFromNowByMinutes"` /** * 距离现在的最晚可预约时间分钟数(单位分钟),参数值范例 100 */ LatestReserveTimeFromNowByMinutes string `json:"latestReserveTimeFromNowByMinutes"` }
type VendorServiceConfigDTO ¶
type VendorShopConfigDTO ¶
type VendorShopConfigDTO struct { /** * 预约配置 */ ReserveConfig VendorReserveConfigDTO `json:"reserveConfig"` /** * 服务配置 */ ServiceConfig VendorServiceConfigDTO `json:"serviceConfig"` /** * 业务配置 */ BizConfig VendorBizConfigDTO `json:"bizConfig"` }
Click to show internal directories.
Click to hide internal directories.