Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchDeleteCouponLogic ¶
func NewBatchDeleteCouponLogic ¶
func NewBatchDeleteCouponLogic(ctx context.Context, svcCtx *svc.ServiceContext) *BatchDeleteCouponLogic
Batch delete coupon
func (*BatchDeleteCouponLogic) BatchDeleteCoupon ¶
func (l *BatchDeleteCouponLogic) BatchDeleteCoupon(req *types.BatchDeleteCouponRequest) error
type CreateCouponLogic ¶
func NewCreateCouponLogic ¶
func NewCreateCouponLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreateCouponLogic
Create coupon
func (*CreateCouponLogic) CreateCoupon ¶
func (l *CreateCouponLogic) CreateCoupon(req *types.CreateCouponRequest) error
type DeleteCouponLogic ¶
func NewDeleteCouponLogic ¶
func NewDeleteCouponLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteCouponLogic
Delete coupon
func (*DeleteCouponLogic) DeleteCoupon ¶
func (l *DeleteCouponLogic) DeleteCoupon(req *types.DeleteCouponRequest) error
type GetCouponListLogic ¶
func NewGetCouponListLogic ¶
func NewGetCouponListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetCouponListLogic
Get coupon list
func (*GetCouponListLogic) GetCouponList ¶
func (l *GetCouponListLogic) GetCouponList(req *types.GetCouponListRequest) (resp *types.GetCouponListResponse, err error)
type UpdateCouponLogic ¶
func NewUpdateCouponLogic ¶
func NewUpdateCouponLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCouponLogic
Update coupon
func (*UpdateCouponLogic) UpdateCoupon ¶
func (l *UpdateCouponLogic) UpdateCoupon(req *types.UpdateCouponRequest) error
Click to show internal directories.
Click to hide internal directories.