cartitemservicelogic

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 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 CartItemAddLogic

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

CartItemAddLogic

Author: LiuFeiHua Date: 2023/12/6 15:46

func NewCartItemAddLogic

func NewCartItemAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CartItemAddLogic

func (*CartItemAddLogic) CartItemAdd

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

type CartItemClearLogic

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

CartItemClearLogic 会员购物车

Author: LiuFeiHua Date: 2023/12/6 14:44

func NewCartItemClearLogic

func NewCartItemClearLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CartItemClearLogic

func (*CartItemClearLogic) CartItemClear

CartItemClear 根据会员id清空购物车

type CartItemDeleteLogic

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

CartItemDeleteLogic

Author: LiuFeiHua Date: 2023/12/6 14:45

func NewCartItemDeleteLogic

func NewCartItemDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CartItemDeleteLogic

func (*CartItemDeleteLogic) CartItemDelete

CartItemDelete 删除购物车中的某个商品

type CartItemListLogic

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

CartItemListLogic

Author: LiuFeiHua Date: 2023/11/30 16:45

func NewCartItemListLogic

func NewCartItemListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CartItemListLogic

func (*CartItemListLogic) CartItemList

CartItemList 查询购物车列表

type CartItemUpdateLogic

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

CartItemUpdateLogic

Author: LiuFeiHua Date: 2023/12/6 16:01

func NewCartItemUpdateLogic

func NewCartItemUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CartItemUpdateLogic

func (*CartItemUpdateLogic) CartItemUpdate

CartItemUpdate 更新购物车商品 1.先更加id删除原来的 2.添加新的

type CartItemUpdateQuantityLogic

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

CartItemUpdateQuantityLogic

Author: LiuFeiHua Date: 2023/12/6 15:31

func NewCartItemUpdateQuantityLogic

func NewCartItemUpdateQuantityLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CartItemUpdateQuantityLogic

func (*CartItemUpdateQuantityLogic) CartItemUpdateQuantity

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

Jump to

Keyboard shortcuts

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