sms_flash_promotion_product_relation

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

	/**
	 * 修改关联信息
	 */
	Update(ctx context.Context, id int64, param dto.SmsFlashPromotionProductRelation) (int64, error)

	/**
	 * 删除关联
	 */
	Delete(ctx context.Context, id int64) (int64, error)

	/**
	 * 获取关联详情
	 */
	GetItem(ctx context.Context, id int64) (*dto.SmsFlashPromotionProductRelation, error)

	/**
	 * 分页查询相关商品及限时购促销信息
	 *
	 * @param flashPromotionId        限时购id
	 * @param flashPromotionSessionId 限时购场次id
	 */
	List(ctx context.Context, flashPromotionId, flashPromotionSessionId int64, pageSize, pageNum int) (
		[]dto.SmsFlashPromotionProductRelation, int64, error)

	/**
	 * 根据活动和场次id获取商品关系数量
	 * @param flashPromotionId        限时购id
	 * @param flashPromotionSessionId 限时购场次id
	 */
	GetCount(ctx context.Context, flashPromotionId, flashPromotionSessionId int64) (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