sms_flash_promotion_session

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: 7 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.SmsFlashPromotionSession) (int64, error)

	/**
	 * 修改场次
	 */
	Update(ctx context.Context, id int64, param dto.SmsFlashPromotionSession) (int64, error)

	/**
	 * 修改场次启用状态
	 */
	UpdateStatus(ctx context.Context, id int64, status int32) (int64, error)

	/**
	 * 删除场次
	 */
	Delete(ctx context.Context, id int64) (int64, error)

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

	/**
	 * 根据启用状态获取场次列表
	 */
	ListAll(ctx context.Context) ([]dto.SmsFlashPromotionSession, error)

	/**
	 * 获取全部可选场次及其数量
	 */
	SelectList(ctx context.Context, flashPromotionId int64) ([]dto.SmsFlashPromotionSessionDetail, 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