GetAllSecondKillEventsReq 定义获取所有秒杀活动的请求参数
| 27 | |
| 28 | // GetAllSecondKillEventsReq 定义获取所有秒杀活动的请求参数 |
| 29 | type GetAllSecondKillEventsReq struct { |
| 30 | Page int `json:"page,omitempty"` // 当前页码 |
| 31 | Size *int64 `json:"size,omitempty"` // 每页数据量 |
| 32 | Status string `json:"status"` // 秒杀活动状态过滤 |
| 33 | } |
| 34 | |
| 35 | // CreateSecondKillEventReq 定义创建新的秒杀活动的请求参数 |
| 36 | type CreateSecondKillEventReq struct { |
nothing calls this directly
no outgoing calls
no test coverage detected