Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddCouponLogic ¶ added in v0.0.2
AddCouponLogic 添加优惠券
Author: LiuFeiHua Date: 2024/6/12 17:34
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(in *smsclient.AddOrUpdateCouponReq) (*smsclient.AddOrUpdateCouponResp, error)
AddCoupon 添加优惠券 1.插入优惠券表 2.插入优惠券和商品关系表 3.插入优惠券和商品分类关系表
type DeleteCouponLogic ¶ added in v0.0.2
DeleteCouponLogic 删除优惠券
Author: LiuFeiHua Date: 2024/6/12 17:34
func NewDeleteCouponLogic ¶ added in v0.0.2
func NewDeleteCouponLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteCouponLogic
func (*DeleteCouponLogic) DeleteCoupon ¶ added in v0.0.2
func (l *DeleteCouponLogic) DeleteCoupon(in *smsclient.DeleteCouponReq) (*smsclient.DeleteCouponResp, error)
DeleteCoupon 删除优惠券 1.删除优惠券 2.删除商品关联 3.删除商品分类关联
type QueryCouponFindByIdLogic ¶ added in v0.0.2
QueryCouponFindByIdLogic 根据优惠券id查询优惠券
Author: LiuFeiHua Date: 2024/6/12 17:35
func NewQueryCouponFindByIdLogic ¶ added in v0.0.2
func NewQueryCouponFindByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryCouponFindByIdLogic
func (*QueryCouponFindByIdLogic) QueryCouponFindById ¶ added in v0.0.2
func (l *QueryCouponFindByIdLogic) QueryCouponFindById(in *smsclient.QueryCouponFindByIdReq) (*smsclient.QueryCouponFindByIdResp, error)
QueryCouponFindById 根据优惠券id查询优惠券
type QueryCouponFindByIdsLogic ¶ added in v0.0.2
QueryCouponFindByIdsLogic 根据优惠券ids查询优惠券
Author: LiuFeiHua Date: 2024/6/12 17:36
func NewQueryCouponFindByIdsLogic ¶ added in v0.0.2
func NewQueryCouponFindByIdsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryCouponFindByIdsLogic
func (*QueryCouponFindByIdsLogic) QueryCouponFindByIds ¶ added in v0.0.2
func (l *QueryCouponFindByIdsLogic) QueryCouponFindByIds(in *smsclient.QueryCouponFindByIdsReq) (*smsclient.QueryCouponFindByIdsResp, error)
QueryCouponFindByIds 根据优惠券ids查询优惠券
type QueryCouponFindByProductIdAndProductCategoryIdLogic ¶ added in v0.0.2
type QueryCouponFindByProductIdAndProductCategoryIdLogic struct { logx.Logger // contains filtered or unexported fields }
QueryCouponFindByProductIdAndProductCategoryIdLogic 根据商品Id和分类id查询可用的优惠券(app)
Author: LiuFeiHua Date: 2024/6/12 17:37
func NewQueryCouponFindByProductIdAndProductCategoryIdLogic ¶ added in v0.0.2
func NewQueryCouponFindByProductIdAndProductCategoryIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryCouponFindByProductIdAndProductCategoryIdLogic
func (*QueryCouponFindByProductIdAndProductCategoryIdLogic) QueryCouponFindByProductIdAndProductCategoryId ¶ added in v0.0.2
func (l *QueryCouponFindByProductIdAndProductCategoryIdLogic) QueryCouponFindByProductIdAndProductCategoryId(in *smsclient.CouponFindByProductIdAndProductCategoryIdReq) (*smsclient.CouponFindByProductIdAndProductCategoryIdResp, error)
QueryCouponFindByProductIdAndProductCategoryId 根据商品Id和分类id查询可用的优惠券(app)
type QueryCouponListLogic ¶ added in v0.0.2
QueryCouponListLogic 查询优惠券
Author: LiuFeiHua Date: 2024/6/12 17:37
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(in *smsclient.QueryCouponListReq) (*smsclient.QueryCouponListResp, error)
QueryCouponList 查询优惠券
type UpdateCouponLogic ¶ added in v0.0.2
UpdateCouponLogic 更新优惠券
Author: LiuFeiHua Date: 2024/6/12 17:38
func NewUpdateCouponLogic ¶ added in v0.0.2
func NewUpdateCouponLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCouponLogic
func (*UpdateCouponLogic) UpdateCoupon ¶ added in v0.0.2
func (l *UpdateCouponLogic) UpdateCoupon(in *smsclient.AddOrUpdateCouponReq) (*smsclient.AddOrUpdateCouponResp, error)
UpdateCoupon 更新优惠券 1.更新优惠券 2.插入优惠券和商品关系表 3.插入优惠券和商品分类关系表