shopmenucreatespecial

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 SellerCategoryBasicDTO

type SellerCategoryBasicDTO struct {
	/**
	 *  前台类目 id,即类目编码
	 */
	VendorSellerCategoryId string `json:"vendorSellerCategoryId"`
	/**
	 *  类目名称
	 */
	CategoryName string `json:"categoryName"`
	/**
	 *  类目排序 rank > 0
	 */
	Rank int32 `json:"rank"`
	/**
	 *  类目层级 1:一级类目 2:二级类目
	 */
	Level int32 `json:"level"`
	/**
	 *  类目类型 10:普通类目 30:餐具类目 品牌默认填 10 即可 不为空 餐具类目只能放餐具商品 餐具类目只能有一个 餐具类目只能为一级类目
	 */
	Type int32 `json:"type"`
	/**
	 *  永久置顶开关 false:关闭 true:开启 top 是永久置顶,topTime是分时置顶,两个可以单独配置 top 优先级高,top = true 时即永久置顶,top = false 是根据 topTime 判定类目是否置顶
	 */
	Top bool `json:"top"`
	/**
	 *  分时置顶时间
	 */
	TopTime []TimeDTO `json:"topTime"`
	/**
	 *  分时展示时间
	 */
	ShowTime []TimeDTO `json:"showTime"`
	/**
	 *  类目描述
	 */
	Description string `json:"description"`
	/**
	 *  类目标签 RECOMMEND(-95, "本周推荐"), SPECIAL_OFFER(-94, "本店特供") 星巴克品牌定制,其他品牌不填
	 */
	TagList []int32 `json:"tagList"`
	/**
	 *  父类目 id level == 2 时必填 parentVendorSellerCategoryId != vendorSellerCategoryId,parentVendorSellerCategoryId 必须存在于一级类目 id 中,一级类目没有父类目 id
	 */
	ParentVendorSellerCategoryId string `json:"parentVendorSellerCategoryId"`
	Hide                         bool   `json:"hide"`
}

type ShopmenuCreatespecialRequest

type ShopmenuCreatespecialRequest struct {
	/**
	 *  门店菜谱
	 */
	VendorShopMenu VendorShopMenuDTO `json:"vendorShopMenu"`
	/**
	 *  同步模式 1:全量覆盖模式 2:增量模式 只针对特殊类目,特殊类目不影响正常类目
	 */
	Append int32 `json:"append"`
}

func (*ShopmenuCreatespecialRequest) DoInvoke

type ShopmenuCreatespecialResponse

type ShopmenuCreatespecialResponse struct {
	Code string `json:"code"`
	Msg  string `json:"msg"`
	/**
	 * 成功:true,失败:false
	 */
	Data    bool   `json:"data"`
	TraceId string `json:"traceId"`
}

func (*ShopmenuCreatespecialResponse) IsSuccess

func (response *ShopmenuCreatespecialResponse) IsSuccess() bool

type TimeDTO

type TimeDTO struct {
	/**
	 *  一周的第几天,eg: 1:星期一 2:星期二 ...以此类推 不为空,只能为 1~7
	 */
	DayOfWeek int32 `json:"dayOfWeek"`
	/**
	 *  时间段
	 */
	Range []TimeRangeDTO `json:"range"`
}

type TimeRangeDTO

type TimeRangeDTO struct {
	/**
	 *  开始时间 不能为空,只能为 xx:xx 格式
	 */
	Start string `json:"start"`
	/**
	 *  结束时间 不能为空,只能为 xx:xx 格式
	 */
	End string `json:"end"`
}

type VendorSellerCategoryDTO

type VendorSellerCategoryDTO struct {
	/**
	 *  前台类目基本信息
	 */
	SellerCategoryBasic SellerCategoryBasicDTO `json:"sellerCategoryBasic"`
	/**
	 *  商品 SPU 列表,必存在于商品池中 SellerCategoryBasicDTO . level == 2 时必填 最多 50 个
	 */
	VendorShopProductSimpleList []VendorShopProductSimpleDTO `json:"vendorShopProductSimpleList"`
}

type VendorShopMenuDTO

type VendorShopMenuDTO struct {
	/**
	 *  门店Id
	 */
	VendorShopId string `json:"vendorShopId"`
	/**
	 *  门店前台类目列表 最多 50 个
	 */
	VendorSellerCategoryList []VendorSellerCategoryDTO `json:"vendorSellerCategoryList"`
}

type VendorShopProductSimpleDTO

type VendorShopProductSimpleDTO struct {
	/**
	 *  商品id
	 */
	VendorProductId string `json:"vendorProductId"`
	/**
	 *  商品门店上下架状态 0 :下架 1:上架 如果updateShelfStatus=true 则不能为空,只能为 0 or 1
	 */
	ShelfStatus int32 `json:"shelfStatus"`
	/**
	 *  商品形式: 1:单品 2:套餐
	 */
	VendorProductForm int32 `json:"vendorProductForm"`
}

Jump to

Keyboard shortcuts

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