productsquery

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 Products

type Products struct {
	/**
	 * ERP 商品id
	 */
	AppFoodCode string `json:"app_food_code"`
	/**
	 * 商品名称
	 */
	FoodName string `json:"food_name"`
	/**
	 * 图片url
	 */
	Picture string `json:"picture"`
	/**
	 * 是否可选
	 */
	Selectable bool `json:"selectable"`
}

type ProductsQueryData

type ProductsQueryData struct {
	/**
	 * 海报id
	 */
	Total    int64      `json:"total"`
	Products []Products `json:"products"`
}

type ProductsQueryRequest

type ProductsQueryRequest struct {
	/**
	 *  场景类型: 1.海报 2.老板推荐
	 */
	Scene int32 `json:"scene"`
	/**
	 *  页码,默认-1
	 */
	PageNum int32 `json:"pageNum"`
	/**
	 *  每页展示数
	 */
	PageSize int32 `json:"pageSize"`
}

func (*ProductsQueryRequest) DoInvoke

type ProductsQueryResponse

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

func (*ProductsQueryResponse) IsSuccess

func (response *ProductsQueryResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

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