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 ¶
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 ¶
func NewDeleteProductLogic ¶
func NewDeleteProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteProductLogic
func (*DeleteProductLogic) DeleteProduct ¶
type GetProductByIdLogic ¶
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 ¶
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 ¶
func NewGetProductListLogic ¶
func NewGetProductListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetProductListLogic
func (*GetProductListLogic) GetProductList ¶
func (l *GetProductListLogic) GetProductList(in *basic.ProductListReq) (*basic.ProductListResp, error)
type SyncProductLogic ¶
func NewSyncProductLogic ¶
func NewSyncProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SyncProductLogic
func (*SyncProductLogic) SyncProduct ¶
type UpdateProductLogic ¶
func NewUpdateProductLogic ¶
func NewUpdateProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateProductLogic
func (*UpdateProductLogic) UpdateProduct ¶
func (l *UpdateProductLogic) UpdateProduct(in *basic.ProductInfo) (*basic.BaseResp, error)
Click to show internal directories.
Click to hide internal directories.