cartitemservicelogic

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddCartItemLogic added in v0.0.2

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

AddCartItemLogic 添加购物车表

Author: LiuFeiHua Date: 2024/6/12 9:40

func NewAddCartItemLogic added in v0.0.2

func NewAddCartItemLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddCartItemLogic

func (*AddCartItemLogic) AddCartItem added in v0.0.2

AddCartItem 添加购物车表 1.购物车是否已经存在商品 2.如果有,则更新数量 3.如果没有,插入数据

type DeleteCartItemLogic added in v0.0.2

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

DeleteCartItemLogic 删除购物车表

Author: LiuFeiHua Date: 2024/6/12 9:53

func NewDeleteCartItemLogic added in v0.0.2

func NewDeleteCartItemLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteCartItemLogic

func (*DeleteCartItemLogic) DeleteCartItem added in v0.0.2

DeleteCartItem 删除购物车表

type QueryCartItemDetailLogic added in v0.0.2

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

func NewQueryCartItemDetailLogic added in v0.0.2

func NewQueryCartItemDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryCartItemDetailLogic

func (*QueryCartItemDetailLogic) QueryCartItemDetail added in v0.0.2

查询购物车表详情

type QueryCartItemListLogic added in v0.0.2

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

QueryCartItemListLogic 查询购物车表列表

Author: LiuFeiHua Date: 2024/6/12 9:56

func NewQueryCartItemListLogic added in v0.0.2

func NewQueryCartItemListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryCartItemListLogic

func (*QueryCartItemListLogic) QueryCartItemList added in v0.0.2

QueryCartItemList 查询购物车表列表

type UpdateCartItemLogic added in v0.0.2

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

UpdateCartItemLogic 更新购物车表

Author: LiuFeiHua Date: 2024/6/12 10:05

func NewUpdateCartItemLogic added in v0.0.2

func NewUpdateCartItemLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCartItemLogic

func (*UpdateCartItemLogic) UpdateCartItem added in v0.0.2

UpdateCartItem 更新购物车表 1.先更加id删除原来的 2.添加新的

type UpdateCartItemQuantityLogic added in v0.0.2

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

UpdateCartItemQuantityLogic 修改购物车中某个商品的数量

Author: LiuFeiHua Date: 2024/6/12 10:09

func NewUpdateCartItemQuantityLogic added in v0.0.2

func NewUpdateCartItemQuantityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateCartItemQuantityLogic

func (*UpdateCartItemQuantityLogic) UpdateCartItemQuantity added in v0.0.2

UpdateCartItemQuantity 修改购物车中某个商品的数量

Jump to

Keyboard shortcuts

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