sms_home_recommend_product

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: 5 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, param []dto.SmsHomeRecommendProduct) (int64, error)

	/**
	 * 修改推荐排序
	 */
	UpdateSort(ctx context.Context, id int64, sort int32) (int64, error)

	/**
	 * 批量删除推荐
	 */
	Delete(ctx context.Context, ids []int64) (int64, error)

	/**
	 * 批量更新推荐状态
	 */
	UpdateRecommendStatus(ctx context.Context, ids []int64, recommendStatus int32) (int64, error)

	/**
	 * 分页查询推荐
	 */
	List(ctx context.Context, productName string, recommendStatus int32, pageSize, pageNum int) (
		[]dto.SmsHomeRecommendProduct, int64, 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