Tp looked at the log and found that many requests were received at the same point in time, and all of them were processed, resulting in a number of new data.

RT, checks the log and finds that at the same time, accurate to seconds, there are multiple requests for the same method, and the parameters are the same, and all are executed, resulting in multiple messages being inserted into the database. The server is configured with 2-core 4G memory, using the tp5 framework, debugging mode is turned on, and the solution is solved. Some protective measures have been taken, but they are ineffective, but this does not happen very often. I have a headache. I would like to trouble you here to give us some advice. thank you!

Mar.09,2021

should be a front-end problem. All the requests sent are normal, so you can see if there is a duplicate submission at the front end.

Menu