pms_product_attr_cate

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: 6 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 {

	/**
	 * 创建属性分类
	 */
	Create(ctx context.Context, name string) (int64, error)

	/**
	 * 修改属性分类
	 */
	Update(ctx context.Context, id int64, name string) (int64, error)

	/**
	 * 删除属性分类
	 */
	Delete(ctx context.Context, id int64) (int64, error)

	/**
	 * 获取属性分类详情
	 */
	GetItem(ctx context.Context, id int64) (*dto.PmsProductAttributeCategory, error)

	/**
	 * 分页查询属性分类
	 */
	List(ctx context.Context, pageSize, pageNum int) ([]dto.PmsProductAttributeCategory, int64, error)

	/**
	 * 获取包含属性的属性分类
	 */
	ListWithAttr(ctx context.Context) ([]dto.PmsProductAttrCateItem, 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