coupon

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type AddCouponLogic added in v0.0.2

type AddCouponLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

AddCouponLogic 领取指定优惠券

Author: LiuFeiHua Date: 2024/5/16 16:01

func NewAddCouponLogic added in v0.0.2

func NewAddCouponLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddCouponLogic

func (*AddCouponLogic) AddCoupon added in v0.0.2

func (l *AddCouponLogic) AddCoupon(req *types.AddCouponReq) (resp *types.AddCouponResp, err error)

AddCoupon 领取指定优惠券

type QueryCouponHistoryListLogic added in v0.0.2

type QueryCouponHistoryListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

QueryCouponHistoryListLogic 获取会员优惠券历史列表

Author: LiuFeiHua Date: 2024/5/16 16:20

func NewQueryCouponHistoryListLogic added in v0.0.2

func NewQueryCouponHistoryListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryCouponHistoryListLogic

func (*QueryCouponHistoryListLogic) QueryCouponHistoryList added in v0.0.2

func (l *QueryCouponHistoryListLogic) QueryCouponHistoryList(req *types.ListCouponHistoryReq) (resp *types.ListCouponHistoryResp, err error)

QueryCouponHistoryList 获取会员优惠券历史列表

type QueryCouponListByCartLogic added in v0.0.2

type QueryCouponListByCartLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

QueryCouponListByCartLogic 获取登录会员购物车的相关优惠券

Author: LiuFeiHua Date: 2024/5/16 16:31

func NewQueryCouponListByCartLogic added in v0.0.2

func NewQueryCouponListByCartLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryCouponListByCartLogic

func (*QueryCouponListByCartLogic) QueryCouponListByCart added in v0.0.2

func (l *QueryCouponListByCartLogic) QueryCouponListByCart(req *types.CouponListByCartReq) (resp *types.CouponListByCartResp, err error)

QueryCouponListByCart 获取登录会员购物车的相关优惠券

type QueryCouponListByProductIdLogic added in v0.0.2

type QueryCouponListByProductIdLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

QueryCouponListByProductIdLogic 获取当前商品相关优惠券

Author: LiuFeiHua Date: 2024/5/16 15:36

func NewQueryCouponListByProductIdLogic added in v0.0.2

func NewQueryCouponListByProductIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryCouponListByProductIdLogic

func (*QueryCouponListByProductIdLogic) QueryCouponListByProductId added in v0.0.2

func (l *QueryCouponListByProductIdLogic) QueryCouponListByProductId(req *types.QueryCouponListByProductIdReq) (resp *types.ListCouponResp, err error)

QueryCouponListByProductId 获取当前商品相关优惠券 1.获取指定商品优惠券 2.获取指定分类优惠券 3.所有优惠券

type QueryCouponListLogic added in v0.0.2

type QueryCouponListLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

QueryCouponListLogic 查询会员优惠券成功

Author: LiuFeiHua Date: 2024/5/16 16:30

func NewQueryCouponListLogic added in v0.0.2

func NewQueryCouponListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryCouponListLogic

func (*QueryCouponListLogic) QueryCouponList added in v0.0.2

func (l *QueryCouponListLogic) QueryCouponList(req *types.ListCouponReq) (resp *types.ListCouponResp, err error)

QueryCouponList 获取用户优惠券列表

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL