dishskusellstatus

package
v0.0.0-...-905ac7b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DishSkuSellStatusRequest

type DishSkuSellStatusRequest struct {
	/**
	 *  售卖状态,1表下架,0表上架
	 */
	SellStatus int32 `json:"sell_status"`
	/**
	 *  菜品sku集合
	 */
	FoodData []FoodData `json:"food_data"`
}

func (*DishSkuSellStatusRequest) DoInvoke

func (req *DishSkuSellStatusRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*DishSkuSellStatusResponse, error)

type DishSkuSellStatusResponse

type DishSkuSellStatusResponse struct {
	Code    string `json:"code"`
	Msg     string `json:"msg"`
	Data    string `json:"data"`
	TraceId string `json:"traceId"`
}

func (*DishSkuSellStatusResponse) IsSuccess

func (response *DishSkuSellStatusResponse) IsSuccess() bool

type FoodData

type FoodData struct {
	/**
	 *  服务商方的菜品id,最大长度128,不同门店可以重复,同一门店内不能重复
	 */
	AppFoodCode string `json:"app_food_code"`
	/**
	 *  skus
	 */
	Skus []Skus `json:"skus"`
}

type Skus

type Skus struct {
	/**
	 *  sku码
	 */
	SkuId string `json:"sku_id"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL