Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProductAddLogic ¶
func NewProductAddLogic ¶
func NewProductAddLogic(ctx context.Context, svcCtx *svc.ServiceContext) ProductAddLogic
func (*ProductAddLogic) ProductAdd ¶
func (l *ProductAddLogic) ProductAdd(req types.AddProductReq) (*types.AddProductResp, error)
ProductAdd 添加商品 逻辑步骤: 1.创建商品基本信息 2.会员价格 3.阶梯价格 4.满减价格 5.添加sku库存信息 6.添加商品参数,添加自定义商品规格 7.关联专题 8.关联优选 注意: 步骤1到6是在商品(rpc)中操作,步骤7到8是在cms模块中操作
type ProductDeleteLogic ¶
func NewProductDeleteLogic ¶
func NewProductDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) ProductDeleteLogic
func (*ProductDeleteLogic) ProductDelete ¶
func (l *ProductDeleteLogic) ProductDelete(req types.DeleteProductReq) (*types.DeleteProductResp, error)
type ProductListLogic ¶
func NewProductListLogic ¶
func NewProductListLogic(ctx context.Context, svcCtx *svc.ServiceContext) ProductListLogic
func (*ProductListLogic) ProductList ¶
func (l *ProductListLogic) ProductList(req types.ListProductReq) (*types.ListProductResp, error)
type ProductUpdateLogic ¶
func NewProductUpdateLogic ¶
func NewProductUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) ProductUpdateLogic
func (*ProductUpdateLogic) ProductUpdate ¶
func (l *ProductUpdateLogic) ProductUpdate(req types.UpdateProductReq) (*types.UpdateProductResp, error)
ProductUpdate 更新商品 逻辑步骤: 1.更新商品基本信息 2.会员价格 3.阶梯价格 4.满减价格 5.更新sku库存信息 6.更新商品参数,添加自定义商品规格 7.关联专题 8.关联优选 注意: 步骤1到6是在商品(rpc)中操作,步骤7到8是在cms模块中操作
Click to show internal directories.
Click to hide internal directories.