Home > Back-end > Small program calls the backend API interfaces occasionally performed twice, please bosses give advi
Small program calls the backend API interfaces occasionally performed twice, please bosses give advi
Time:09-18
Small program in the calling the backend API interface (POST requests), incidental interface is called twice, there are two of the same data in the repository (UUID generated but different), please bosses to give directions, thank!!!!!!
CodePudding user response:
The back-end to print the log to see if the front sent two requests, what are your front-end app? Our program has also been found in the iOS has such a bug, and use two fingers to click a button, and then two fingers left button, and in turn will trigger twice request (triggered release button, two fingers in turn release button, creates two trigger).