pms_product_attr

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface {
	List(ctx context.Context, cid int64, attrType int32, pageSize, pageNum int) ([]dto.PmsProductAttribute, int64, error)

	/**
	 * 添加商品属性
	 */
	Create(ctx context.Context, param dto.PmsProductAttrParam) (int64, error)

	/**
	 * 修改商品属性
	 */
	Update(ctx context.Context, id int64, param dto.PmsProductAttrParam) (int64, error)

	/**
	 * 获取单个商品属性信息
	 */
	GetItem(ctx context.Context, id int64) (*dto.PmsProductAttribute, error)

	/**
	 * 批量删除商品属性
	 */
	Delete(ctx context.Context, ids []int64) (int64, error)

	/**
	 * 获取商品分类对应属性列表
	 */
	GetProductAttrInfo(ctx context.Context, productCategoryId int64) ([]dto.PmsProductAttrInfo, error)
	// contains filtered or unexported methods
}

商品属性管理Service

func New

func New() Service

Jump to

Keyboard shortcuts

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