handler

package
v0.0.0-...-14907fc Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventDetailedInfo

type EventDetailedInfo struct {
	EventId         string
	EventCreateTime time.Time
	Name            string
	EventPrice      float32
	EventNum        int
	StartTime       time.Time
	EndTime         time.Time
	ProductId       uint
	ProductName     string
}

type EventDetailedWithProduct

type EventDetailedWithProduct struct {
	EventId    string //活动ID
	LeftNum    int
	EventPrice float32 //活动价格
	StartTime  string
	EndTime    string

	ProductId          string
	ProductName        string  //商品名称
	Picture            string  //base64
	Price              float32 //原价
	ProductDescription string
	Unit               string
}

type ProductImpl

type ProductImpl struct {
}

func (ProductImpl) AddProduct

func (p ProductImpl) AddProduct(ctx Context, in *AddProductRequest, out *GeneralResponse) error

func (ProductImpl) DeleteProduct

func (p ProductImpl) DeleteProduct(ctx Context, in *GeneralRequest, out *GeneralResponse) error

func (ProductImpl) EditProduct

func (p ProductImpl) EditProduct(ctx Context, in *EditProductRequest, out *GeneralResponse) error

func (ProductImpl) GetProduct

func (p ProductImpl) GetProduct(ctx Context, in *GeneralRequest, out *GetProductResponse) error

func (ProductImpl) GetProductList

func (p ProductImpl) GetProductList(ctx Context, in *GetProductListRequest, out *GetProductListResponse) error

func (ProductImpl) GetSelectedProductList

func (p ProductImpl) GetSelectedProductList(ctx Context, in *GeneralRequest, out *GetProductListResponse) error

Jump to

Keyboard shortcuts

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