Lottery
Updated: 2025-07-03 14:46:06
This module is primarily used to receive and process lottery operations initiated by users such as instructors, teaching assistants, and administrators, including various conditional lotteries and instant lotteries.
1. API Method Overview
| API Method | Description |
|---|---|
| getLotteryList | Get the current list of lottery activities |
| getLotteryDetail | Get lottery details |
| getLotteryResult | Get lottery results |
| sendComment | Send comment content for comment-based lottery |
| checkComment | Check if the comment content meets the conditions for comment-based lottery |
| finishComment | Complete comment-based lottery |
| startAnswer | Start answering questions |
| getLastAnswerResult | Get the most recent answer result |
| submitAnswer | Submit answers |
| getPersonalWinning | Get personal winning records |
| getLotteryReceive | Get lottery prize claim information |
| submitReceive | Submit claim information |
| getLotteryWinnersGroup | Get the list of winner groups |
| getLotteryWinners | Get the list of winners |
2. Event Overview
| Event | Description |
|---|---|
| LotteryEvent.LotteryInited | Lottery initialization completed |
| LotteryEvent.LotteryListUpdate | Lottery list updated |
| LotteryEvent.LotteryInitiate | Lottery initiated |
| LotteryEvent.LotteryStart | Lottery started |
| LotteryEvent.LotteryResult | Lottery result |
| LotteryEvent.LotteryFinish | Lottery finished |
| LotteryEvent.LotteryClose | Lottery closed |
| LotteryEvent.DetailUpdate | Lottery details updated |
| LotteryEvent.AddQuestion | Question added |
