Home > Back-end >  For help! Some problems in the reservation and check-in functions?
For help! Some problems in the reservation and check-in functions?

Time:03-12

Children write a small program library WeChat seat reservation! Need to use Java spring framework of the boot, the MySQL database, etc., now a booking some interaction involves regularly before and after the mission and end the problem! Hope to be able to get the bosses give directions!

CodePudding user response:

Describe in detail a bit

CodePudding user response:

reference 1st floor is zhao dare to dare to reply:
described detail

SetTimeout and setinterval do the countdown, then found that if the front closure, the countdown to failure, so the transfer to the background, but the individual on the countdown and in Java and front end and are less likely to be, thinking of the front-end began to make an appointment after back end, sends a signal to remind the back-end to start the countdown, then use half an hour a sign in to determine whether a user default and obtain a countdown from the backend, if default, seats are released, will be included in the default user, if sign in successfully, seat is not released,
Want to consult the related code, the events tasks and trigger should be how to operate. Predecessors to give directions!

CodePudding user response:

The countdown, let the front end to a countdown time, join in the cache, timing task calls to judge whether the default, corresponding to the cache, default set for booking seat seat, record the user defaults, there is no default normal booking successful process

CodePudding user response:

Bosses! Can you specifically. For example if only knock on the code, I need what technology? Or you can send me your contact information, you can show me the code!

CodePudding user response:

reference. 5 floor response:
bosses! Can you specifically. For example if only knock on the code, I need what technology? Or you can send me your contact information, you can show me the code!
countdown with redis cache, there are many kinds of choose quartz timer, Springtask, simpleJob etc to see which suitable for your project or ask those who go down to the task for you
  • Related