Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CouponAddLogic ¶
func NewCouponAddLogic ¶
func NewCouponAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CouponAddLogic
func (*CouponAddLogic) CouponAdd ¶
func (l *CouponAddLogic) CouponAdd(in *smsclient.CouponAddReq) (*smsclient.CouponAddResp, error)
type CouponDeleteLogic ¶
CouponDeleteLogic 优惠券
Author: LiuFeiHua Date: 2024/5/8 10:12
func NewCouponDeleteLogic ¶
func NewCouponDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CouponDeleteLogic
func (*CouponDeleteLogic) CouponDelete ¶
func (l *CouponDeleteLogic) CouponDelete(in *smsclient.CouponDeleteReq) (*smsclient.CouponDeleteResp, error)
CouponDelete 删除优惠券
type CouponFindByIdLogic ¶
func NewCouponFindByIdLogic ¶
func NewCouponFindByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CouponFindByIdLogic
func (*CouponFindByIdLogic) CouponFindById ¶
func (l *CouponFindByIdLogic) CouponFindById(in *smsclient.CouponFindByIdReq) (*smsclient.CouponFindByIdResp, error)
CouponFindById 根据优惠券id查询优惠券
type CouponFindByIdsLogic ¶
func NewCouponFindByIdsLogic ¶
func NewCouponFindByIdsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CouponFindByIdsLogic
func (*CouponFindByIdsLogic) CouponFindByIds ¶
func (l *CouponFindByIdsLogic) CouponFindByIds(in *smsclient.CouponFindByIdsReq) (*smsclient.CouponFindByIdsResp, error)
CouponFindByIds 根据优惠券ids查询优惠券
type CouponFindByProductIdAndProductCategoryIdLogic ¶
type CouponFindByProductIdAndProductCategoryIdLogic struct { logx.Logger // contains filtered or unexported fields }
CouponFindByProductIdAndProductCategoryIdLogic
Author: LiuFeiHua Date: 2023/12/5 11:29
func NewCouponFindByProductIdAndProductCategoryIdLogic ¶
func NewCouponFindByProductIdAndProductCategoryIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CouponFindByProductIdAndProductCategoryIdLogic
func (*CouponFindByProductIdAndProductCategoryIdLogic) CouponFindByProductIdAndProductCategoryId ¶
func (l *CouponFindByProductIdAndProductCategoryIdLogic) CouponFindByProductIdAndProductCategoryId(in *smsclient.CouponFindByProductIdAndProductCategoryIdReq) (*smsclient.CouponFindByProductIdAndProductCategoryIdResp, error)
CouponFindByProductIdAndProductCategoryId 根据商品Id和分类id查询可用的优惠券(front)
type CouponListLogic ¶
func NewCouponListLogic ¶
func NewCouponListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CouponListLogic
func (*CouponListLogic) CouponList ¶
func (l *CouponListLogic) CouponList(in *smsclient.CouponListReq) (*smsclient.CouponListResp, error)
type CouponUpdateLogic ¶
func NewCouponUpdateLogic ¶
func NewCouponUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CouponUpdateLogic
func (*CouponUpdateLogic) CouponUpdate ¶
func (l *CouponUpdateLogic) CouponUpdate(in *smsclient.CouponUpdateReq) (*smsclient.CouponUpdateResp, error)
Click to show internal directories.
Click to hide internal directories.