Service-related synchronization mechanism
[phenomenon]: the guessing system stipulates that a user can only get free chips once a day.
Repeat the problem with the user
[cause analysis]: repeated claim occurs because there is no thread and lock at the beginning, and it is easy to repeat it in the case of multiple concurrency.
[solution]: a synchronization mechanism is added to the corresponding actions to prevent repetition.