Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResultData ¶
type ResultData struct { }
type UpdateSaleAttributeShelfStatusRequest ¶
type UpdateSaleAttributeShelfStatusRequest struct { /** * 更新范围 0:全国 1:门店 */ Scope int32 `json:"scope"` /** * 门店 id 列表 saleAttributeScope == 1 时必传vendorShopIdList.get(0)是 门店售卖属性对应门店 saleAttributeScope == 0 scope == 1 时必传 最多 15 个,所有 vendorShopId 都在美团侧存在映射,若存在无映射 vendorShopId,失败并在错误信息中返回无映射 vendorShopI */ VendorShopIdList []string `json:"vendorShopIdList"` /** * 售卖属性 code 列表 最多 50 个 */ SaleAttributeCodeList []string `json:"saleAttributeCodeList"` /** * 上下架状态 0:下架 1:上架 */ ShelfStatus int32 `json:"shelfStatus"` /** * 0:品牌售卖属性 1:门店售卖属性 默认品牌配料。 */ SaleAttributeScope int32 `json:"saleAttributeScope"` }
func (*UpdateSaleAttributeShelfStatusRequest) DoInvoke ¶
func (req *UpdateSaleAttributeShelfStatusRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*UpdateSaleAttributeShelfStatusResponse, error)
type UpdateSaleAttributeShelfStatusResponse ¶
type UpdateSaleAttributeShelfStatusResponse struct { Code string `json:"code"` Msg string `json:"msg"` /** * key:saleAttributeCode value:同步结果,成功返回 “成功”,失败则返回相应的异常信息 数据类型为Map */ Data ResultData `json:"data"` TraceId string `json:"traceId"` }
func (*UpdateSaleAttributeShelfStatusResponse) IsSuccess ¶
func (response *UpdateSaleAttributeShelfStatusResponse) IsSuccess() bool
Click to show internal directories.
Click to hide internal directories.