Documentation
¶
Index ¶
- type CreateCategoryLogic
- type CreateProductLogic
- type CreateReviewLogic
- type CreateSkuLogic
- type DeleteCategoryLogic
- type DeleteProductLogic
- type DeleteReviewLogic
- type DeleteSkuLogic
- type GetCategoriesLogic
- type GetCategoryLogic
- type GetProductLogic
- type GetSkuLogic
- type ListCategoriesLogic
- type ListProductsLogic
- type ListReviewsLogic
- type ListSkusLogic
- type UpdateCategoryLogic
- type UpdateProductLogic
- type UpdateReviewLogic
- type UpdateSkuLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateCategoryLogic ¶
func NewCreateCategoryLogic ¶
func NewCreateCategoryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateCategoryLogic
func (*CreateCategoryLogic) CreateCategory ¶
func (l *CreateCategoryLogic) CreateCategory(in *product.CreateCategoryRequest) (*product.CreateCategoryResponse, error)
分类管理
type CreateProductLogic ¶
func NewCreateProductLogic ¶
func NewCreateProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateProductLogic
func (*CreateProductLogic) CreateProduct ¶
func (l *CreateProductLogic) CreateProduct(in *product.CreateProductRequest) (*product.CreateProductResponse, error)
商品管理
type CreateReviewLogic ¶
func NewCreateReviewLogic ¶
func NewCreateReviewLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateReviewLogic
func (*CreateReviewLogic) CreateReview ¶
func (l *CreateReviewLogic) CreateReview(in *product.CreateReviewRequest) (*product.CreateReviewResponse, error)
评价管理
type CreateSkuLogic ¶
func NewCreateSkuLogic ¶
func NewCreateSkuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateSkuLogic
func (*CreateSkuLogic) CreateSku ¶
func (l *CreateSkuLogic) CreateSku(in *product.CreateSkuRequest) (*product.CreateSkuResponse, error)
SKU管理
type DeleteCategoryLogic ¶
func NewDeleteCategoryLogic ¶
func NewDeleteCategoryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteCategoryLogic
func (*DeleteCategoryLogic) DeleteCategory ¶
func (l *DeleteCategoryLogic) DeleteCategory(in *product.DeleteCategoryRequest) (*product.DeleteCategoryResponse, error)
type DeleteProductLogic ¶
func NewDeleteProductLogic ¶
func NewDeleteProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteProductLogic
func (*DeleteProductLogic) DeleteProduct ¶
func (l *DeleteProductLogic) DeleteProduct(in *product.DeleteProductRequest) (*product.DeleteProductResponse, error)
type DeleteReviewLogic ¶
func NewDeleteReviewLogic ¶
func NewDeleteReviewLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteReviewLogic
func (*DeleteReviewLogic) DeleteReview ¶
func (l *DeleteReviewLogic) DeleteReview(in *product.DeleteReviewRequest) (*product.DeleteReviewResponse, error)
type DeleteSkuLogic ¶
func NewDeleteSkuLogic ¶
func NewDeleteSkuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteSkuLogic
func (*DeleteSkuLogic) DeleteSku ¶
func (l *DeleteSkuLogic) DeleteSku(in *product.DeleteSkuRequest) (*product.DeleteSkuResponse, error)
type GetCategoriesLogic ¶
func NewGetCategoriesLogic ¶
func NewGetCategoriesLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCategoriesLogic
func (*GetCategoriesLogic) GetCategories ¶
func (l *GetCategoriesLogic) GetCategories(in *product.Empty) (*product.GetCategoriesResponse, error)
type GetCategoryLogic ¶
func NewGetCategoryLogic ¶
func NewGetCategoryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCategoryLogic
func (*GetCategoryLogic) GetCategory ¶
func (l *GetCategoryLogic) GetCategory(in *product.GetCategoryRequest) (*product.GetCategoryResponse, error)
type GetProductLogic ¶
func NewGetProductLogic ¶
func NewGetProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetProductLogic
func (*GetProductLogic) GetProduct ¶
func (l *GetProductLogic) GetProduct(in *product.GetProductRequest) (*product.GetProductResponse, error)
type GetSkuLogic ¶
func NewGetSkuLogic ¶
func NewGetSkuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetSkuLogic
func (*GetSkuLogic) GetSku ¶
func (l *GetSkuLogic) GetSku(in *product.GetSkuRequest) (*product.GetSkuResponse, error)
type ListCategoriesLogic ¶
func NewListCategoriesLogic ¶
func NewListCategoriesLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListCategoriesLogic
func (*ListCategoriesLogic) ListCategories ¶
func (l *ListCategoriesLogic) ListCategories(in *product.ListCategoriesRequest) (*product.ListCategoriesResponse, error)
type ListProductsLogic ¶
func NewListProductsLogic ¶
func NewListProductsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListProductsLogic
func (*ListProductsLogic) ListProducts ¶
func (l *ListProductsLogic) ListProducts(in *product.ListProductsRequest) (*product.ListProductsResponse, error)
type ListReviewsLogic ¶
func NewListReviewsLogic ¶
func NewListReviewsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListReviewsLogic
func (*ListReviewsLogic) ListReviews ¶
func (l *ListReviewsLogic) ListReviews(in *product.ListReviewsRequest) (*product.ListReviewsResponse, error)
type ListSkusLogic ¶
func NewListSkusLogic ¶
func NewListSkusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListSkusLogic
func (*ListSkusLogic) ListSkus ¶
func (l *ListSkusLogic) ListSkus(in *product.ListSkusRequest) (*product.ListSkusResponse, error)
type UpdateCategoryLogic ¶
func NewUpdateCategoryLogic ¶
func NewUpdateCategoryLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCategoryLogic
func (*UpdateCategoryLogic) UpdateCategory ¶
func (l *UpdateCategoryLogic) UpdateCategory(in *product.UpdateCategoryRequest) (*product.UpdateCategoryResponse, error)
type UpdateProductLogic ¶
func NewUpdateProductLogic ¶
func NewUpdateProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateProductLogic
func (*UpdateProductLogic) UpdateProduct ¶
func (l *UpdateProductLogic) UpdateProduct(in *product.UpdateProductRequest) (*product.UpdateProductResponse, error)
type UpdateReviewLogic ¶
func NewUpdateReviewLogic ¶
func NewUpdateReviewLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateReviewLogic
func (*UpdateReviewLogic) UpdateReview ¶
func (l *UpdateReviewLogic) UpdateReview(in *product.UpdateReviewRequest) (*product.UpdateReviewResponse, error)
type UpdateSkuLogic ¶
func NewUpdateSkuLogic ¶
func NewUpdateSkuLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateSkuLogic
func (*UpdateSkuLogic) UpdateSku ¶
func (l *UpdateSkuLogic) UpdateSku(in *product.UpdateSkuRequest) (*product.UpdateSkuResponse, error)
Source Files
¶
- createcategorylogic.go
- createproductlogic.go
- createreviewlogic.go
- createskulogic.go
- deletecategorylogic.go
- deleteproductlogic.go
- deletereviewlogic.go
- deleteskulogic.go
- getcategorieslogic.go
- getcategorylogic.go
- getproductlogic.go
- getskulogic.go
- listcategorieslogic.go
- listproductslogic.go
- listreviewslogic.go
- listskuslogic.go
- updatecategorylogic.go
- updateproductlogic.go
- updatereviewlogic.go
- updateskulogic.go
Click to show internal directories.
Click to hide internal directories.