Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BusinessDimension ¶
type BusinessDimension struct { }
type PriceBusinessDimensionDTO ¶
type PriceBusinessDimensionDTO struct { /** * 1:商品基础价格;2:门店聚合维度价格,3:门店维度 */ BusinessDimensionType int32 `json:"businessDimensionType"` /** * 价格维度 id-value key value businessDimensionType POI_AGGREGATION 商家门店聚合 id(TAG_CODE门店标签接口) 2 时的 key POI 商家门店Id(即VendorShopId) 3 时的 key businessDimensionType == 2 时必传 value 必须为数字类型 例如瑞幸,POI_AGGREGATION = 门店价格等级 */ BusinessDimensionMap BusinessDimension `json:"businessDimensionMap"` /** * 商品 spuId 长度<=xx字符 */ VendorSpuId string `json:"vendorSpuId"` /** * 商品 skuId 1、长度<=xx字符 2、目前不支持一个品牌下不同vendorSpuId存在相同vendorSkuId 的情况 */ VendorSkuId string `json:"vendorSkuId"` }
type ResultData ¶
type ResultData struct { }
type UpdateSkuPriceRequest ¶
type UpdateSkuPriceRequest struct { /** * SKU 价格 */ VendorSkuPriceDTO VendorSkuPriceDTO `json:"vendorSkuPriceDTO"` }
func (*UpdateSkuPriceRequest) DoInvoke ¶
func (req *UpdateSkuPriceRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*UpdateSkuPriceResponse, error)
type UpdateSkuPriceResponse ¶
type UpdateSkuPriceResponse struct { Code string `json:"code"` Msg string `json:"msg"` /** * key:商品价格主体维度 value:失败原因 若存在门店映射未映射,直接返回失败{“code”:300,”msg”:”部分门店未映射xxx”} */ Data ResultData `json:"data"` TraceId string `json:"traceId"` }
func (*UpdateSkuPriceResponse) IsSuccess ¶
func (response *UpdateSkuPriceResponse) IsSuccess() bool
type VendorSkuPriceDTO ¶
type VendorSkuPriceDTO struct { /** * sku 价格维度 */ PriceBusinessDimensionDTO PriceBusinessDimensionDTO `json:"priceBusinessDimensionDTO"` /** * sku 价格,单位分 单位分,非负数 */ Price int64 `json:"price"` }
Click to show internal directories.
Click to hide internal directories.