product

package
v0.0.0-...-ca5a4cf Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func QueryProductList

func QueryProductList(page int32, size int32, l *SyncProductLogic) error

Types

type CreateProductLogic

type CreateProductLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewCreateProductLogic

func NewCreateProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateProductLogic

func (*CreateProductLogic) CreateProduct

func (l *CreateProductLogic) CreateProduct(in *basic.ProductInfo) (*basic.BaseUUIDResp, error)

type DeleteProductLogic

type DeleteProductLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewDeleteProductLogic

func NewDeleteProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteProductLogic

func (*DeleteProductLogic) DeleteProduct

func (l *DeleteProductLogic) DeleteProduct(in *basic.UUIDsReq) (*basic.BaseResp, error)

type GetProductByIdLogic

type GetProductByIdLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetProductByIdLogic

func NewGetProductByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetProductByIdLogic

func (*GetProductByIdLogic) GetProductById

func (l *GetProductByIdLogic) GetProductById(in *basic.UUIDReq) (*basic.ProductInfo, error)

type GetProductByKeyLogic

type GetProductByKeyLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetProductByKeyLogic

func NewGetProductByKeyLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetProductByKeyLogic

func (*GetProductByKeyLogic) GetProductByKey

func (l *GetProductByKeyLogic) GetProductByKey(in *basic.ProductKeyReq) (*basic.ProductInfo, error)

type GetProductListLogic

type GetProductListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewGetProductListLogic

func NewGetProductListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetProductListLogic

func (*GetProductListLogic) GetProductList

type SyncProductLogic

type SyncProductLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewSyncProductLogic

func NewSyncProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SyncProductLogic

func (*SyncProductLogic) SyncProduct

func (l *SyncProductLogic) SyncProduct(in *basic.Empty) (*basic.BaseResp, error)

type UpdateProductLogic

type UpdateProductLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdateProductLogic

func NewUpdateProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateProductLogic

func (*UpdateProductLogic) UpdateProduct

func (l *UpdateProductLogic) UpdateProduct(in *basic.ProductInfo) (*basic.BaseResp, error)

Jump to

Keyboard shortcuts

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