specialfoodbatchquery

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 Propertys

type Propertys struct {
	PropertyName string  `json:"property_name"`
	Values       []int64 `json:"values"`
	RequiredNum  int64   `json:"required_num"`
}

type ResultData

type ResultData struct {
	Total             int64               `json:"total"`
	WmOpenProductSpus []WmOpenProductSpus `json:"wmOpenProductSpus"`
}

type Setmeals

type Setmeals struct {
	Name  string  `json:"name"`
	Price float64 `json:"price"`
}

type Skus

type Skus struct {
	MtSkuId int64   `json:"mt_sku_id"`
	SkuId   string  `json:"sku_id"`
	Spec    string  `json:"spec"`
	Price   float64 `json:"price"`
	/**
	 * sku库存数量,不能为负数或小数,传'*'表示库存无限
	 */
	Stock    string `json:"stock"`
	MaxStock int64  `json:"max_stock"`
}

type SpecialFoodBatchQueryRequest

type SpecialFoodBatchQueryRequest struct {
	/**
	 *  业务标识,1-拼好饭
	 */
	BusinessIdentify int32 `json:"businessIdentify"`
	/**
	 *  每页展示数,每页展示20,最大20
	 */
	PageSize int32 `json:"pageSize"`
	/**
	 *  页码,默认 1
	 */
	PageNum int32 `json:"pageNum"`
}

func (*SpecialFoodBatchQueryRequest) DoInvoke

type SpecialFoodBatchQueryResponse

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

func (*SpecialFoodBatchQueryResponse) IsSuccess

func (response *SpecialFoodBatchQueryResponse) IsSuccess() bool

type WmOpenProductSpus

type WmOpenProductSpus struct {
	MtSpuId     int64       `json:"mt_spu_id"`
	Name        string      `json:"name"`
	AppFoodCode string      `json:"app_food_code"`
	Picture     string      `json:"picture"`
	TagName     string      `json:"tag_name"`
	MtTagId     int64       `json:"mt_tag_id"`
	Description string      `json:"description"`
	Tag         string      `json:"tag"`
	Skus        []Skus      `json:"skus"`
	Propertys   []Propertys `json:"propertys"`
	Setmeals    []Setmeals  `json:"setmeals"`
	SpuType     int64       `json:"spu_type"`
	Sequence    int64       `json:"sequence"`
	Ctime       int64       `json:"ctime"`
	Utime       int64       `json:"utime"`
	SellStatus  int64       `json:"sell_status"`
	MaxNum      int64       `json:"max_num"`
}

Jump to

Keyboard shortcuts

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