Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { /** * 会员添加优惠券 */ Add(ctx context.Context, couponId int64) error /** * 获取优惠券历史列表 */ ListHistory(ctx context.Context, useStatus int32) ([]dto.SmsCouponHistory, error) /** * 根据购物车信息获取可用优惠券 */ ListCart(ctx context.Context, cartItemList []dto.CartPromotionItem, enable int32) ([]dto.SmsCouponHistoryDetail, error) /** * 获取当前商品相关优惠券 */ ListByProduct(ctx context.Context, productId int64) ([]dto.SmsCoupon, error) /** * 获取用户优惠券列表 */ List(ctx context.Context, useStatus int32) ([]dto.SmsCoupon, error) // contains filtered or unexported methods }
会员优惠券管理Service
Click to show internal directories.
Click to hide internal directories.