MCPcopy Create free account
hub / github.com/GoSimplicity/LinkMe / CreateLotteryDraw

Method CreateLotteryDraw

internal/service/lotteryDraw.go:19–19  ·  view source on GitHub ↗
(ctx context.Context, input domain.LotteryDraw)

Source from the content-addressed store, hash-verified

17 // 抽奖活动相关方法
18 ListLotteryDraws(ctx context.Context, status string, pagination domain.Pagination) ([]domain.LotteryDraw, error)
19 CreateLotteryDraw(ctx context.Context, input domain.LotteryDraw) error
20 GetLotteryDrawByID(ctx context.Context, id int) (domain.LotteryDraw, error)
21 ParticipateLotteryDraw(ctx context.Context, id int, userID int64) error
22

Callers 2

CreateLotteryDrawMethod · 0.65
CreateLotteryDrawMethod · 0.65

Implementers 1

lotteryDrawServiceinternal/service/lotteryDraw.go

Calls

no outgoing calls

Tested by

no test coverage detected