Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FoodUpdateAppfoodcodeByNameAndSpecRequest ¶
type FoodUpdateAppfoodcodeByNameAndSpecRequest struct { /** * 商品名称, 如变更商品编码,商品名称需同线上完全一致, 如不一致将无法匹配 */ Name string `json:"name"` /** * 分类名称, 如变更商品编码,分类名称需同线上完全一致,如不一致将无法匹配 */ CategoryName string `json:"category_name"` /** * 规格, 如变更商品编码,规格需同线上完全一致,如不一致将无法匹配,如商品有规格,则必填 */ Spec string `json:"spec"` /** * 新app_food_code, 为商品的服务商方的商品id,不同门店可以重复,同一门店内不能重复,最大长度128 */ AppFoodCode string `json:"app_food_code"` /** * 新sku_id,为商品sku的唯一标示,如商品有规格,则必填 */ SkuId string `json:"sku_id"` }
func (*FoodUpdateAppfoodcodeByNameAndSpecRequest) DoInvoke ¶
func (req *FoodUpdateAppfoodcodeByNameAndSpecRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*FoodUpdateAppfoodcodeByNameAndSpecResponse, error)
type FoodUpdateAppfoodcodeByNameAndSpecResponse ¶
type FoodUpdateAppfoodcodeByNameAndSpecResponse struct { Code string `json:"code"` Msg string `json:"msg"` Data string `json:"data"` TraceId string `json:"traceId"` }
func (*FoodUpdateAppfoodcodeByNameAndSpecResponse) IsSuccess ¶
func (response *FoodUpdateAppfoodcodeByNameAndSpecResponse) IsSuccess() bool
Click to show internal directories.
Click to hide internal directories.