productservicelogic

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddProductLogic added in v0.0.2

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

AddProductLogic 添加商品,返回商品id

Author: LiuFeiHua Date: 2024/6/12 17:14

func NewAddProductLogic added in v0.0.2

func NewAddProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddProductLogic

func (*AddProductLogic) AddProduct added in v0.0.2

AddProduct 添加商品,返回商品id 逻辑步骤: 1.创建商品基本信息 2.会员价格 3.阶梯价格 4.满减价格 5.添加sku库存信息 6.添加商品参数,添加自定义商品规格

type DeleteProductLogic added in v0.0.2

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

func NewDeleteProductLogic added in v0.0.2

func NewDeleteProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteProductLogic

func (*DeleteProductLogic) DeleteProduct added in v0.0.2

type QueryProductDetailByIdLogic added in v0.0.2

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

func NewQueryProductDetailByIdLogic added in v0.0.2

func NewQueryProductDetailByIdLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryProductDetailByIdLogic

func (*QueryProductDetailByIdLogic) QueryProductDetailById added in v0.0.2

QueryProductDetailById 获取商品详情 1.获取商品信息 2.获取品牌信息 3.获取商品属性信息 4.获取商品属性值信息 5.获取商品SKU库存信息 6.商品阶梯价格设置 7.商品满减价格设置 8.获取商品的会员价格

type QueryProductListByIdsLogic added in v0.0.2

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

func NewQueryProductListByIdsLogic added in v0.0.2

func NewQueryProductListByIdsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryProductListByIdsLogic

func (*QueryProductListByIdsLogic) QueryProductListByIds added in v0.0.2

type QueryProductListLogic added in v0.0.2

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

QueryProductListLogic 查询商品列表

Author: LiuFeiHua Date: 2024/6/12 17:21

func NewQueryProductListLogic added in v0.0.2

func NewQueryProductListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryProductListLogic

func (*QueryProductListLogic) QueryProductList added in v0.0.2

QueryProductList 查询商品列表

type UpdateDeleteStatusLogic added in v0.0.2

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

UpdateDeleteStatusLogic

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

func NewUpdateDeleteStatusLogic added in v0.0.2

func NewUpdateDeleteStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateDeleteStatusLogic

func (*UpdateDeleteStatusLogic) UpdateDeleteStatus added in v0.0.2

UpdateDeleteStatus 批量修改删除状态

type UpdateNewStatusLogic added in v0.0.2

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

UpdateNewStatusLogic

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

func NewUpdateNewStatusLogic added in v0.0.2

func NewUpdateNewStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateNewStatusLogic

func (*UpdateNewStatusLogic) UpdateNewStatus added in v0.0.2

UpdateNewStatus 批量设为新品

type UpdateProductLogic added in v0.0.2

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

UpdateProductLogic 更新商品

Author: LiuFeiHua Date: 2024/6/12 17:16

func NewUpdateProductLogic added in v0.0.2

func NewUpdateProductLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateProductLogic

func (*UpdateProductLogic) UpdateProduct added in v0.0.2

UpdateProduct 更新商品 逻辑步骤: 1.更新商品基本信息 2.会员价格 3.阶梯价格 4.满减价格 5.更新sku库存信息 6.更新商品参数,添加自定义商品规格

type UpdatePublishStatusLogic added in v0.0.2

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

UpdatePublishStatusLogic

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

func NewUpdatePublishStatusLogic added in v0.0.2

func NewUpdatePublishStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdatePublishStatusLogic

func (*UpdatePublishStatusLogic) UpdatePublishStatus added in v0.0.2

UpdatePublishStatus 批量上下架商品

type UpdateRecommendStatusLogic added in v0.0.2

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

UpdateRecommendStatusLogic

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

func NewUpdateRecommendStatusLogic added in v0.0.2

func NewUpdateRecommendStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateRecommendStatusLogic

func (*UpdateRecommendStatusLogic) UpdateRecommendStatus added in v0.0.2

UpdateRecommendStatus 批量推荐商品

type UpdateVerifyStatusLogic added in v0.0.2

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

UpdateVerifyStatusLogic

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

func NewUpdateVerifyStatusLogic added in v0.0.2

func NewUpdateVerifyStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateVerifyStatusLogic

func (*UpdateVerifyStatusLogic) UpdateVerifyStatus added in v0.0.2

UpdateVerifyStatus 批量修改审核状态

Jump to

Keyboard shortcuts

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