Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateLogic ¶
func NewCreateLogic ¶
func NewCreateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateLogic
func (*CreateLogic) Create ¶
func (l *CreateLogic) Create(in *product.CreateRequest) (*product.CreateResponse, error)
type DetailLogic ¶
*
- Author: Coder279
- Desc: 商品详情接口
- Date: 2022-07-27 10:57
func NewDetailLogic ¶
func NewDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DetailLogic
func (*DetailLogic) Detail ¶
func (l *DetailLogic) Detail(in *product.DetailRequest) (*product.DetailResponse, error)
type ListLogic ¶
func NewListLogic ¶
func NewListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListLogic
func (*ListLogic) List ¶
func (l *ListLogic) List(in *product.ListRequest) (*product.ListResponse, error)
type RemoveLogic ¶
*
- Author: Coder279
- Desc: 删除产品
- Date: 2022-07-27
func NewRemoveLogic ¶
func NewRemoveLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RemoveLogic
func (*RemoveLogic) Remove ¶
func (l *RemoveLogic) Remove(in *product.RemoveRequest) (*product.RemoveResponse, error)
type UpdateLogic ¶
func NewUpdateLogic ¶
func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
func (*UpdateLogic) Update ¶
func (l *UpdateLogic) Update(in *product.UpdateRequest) (*product.UpdateResponse, error)
Click to show internal directories.
Click to hide internal directories.