After the problem is solved, the translation is as follows: After the response information has been returned to the client, the headers can no longer be set
Reason: The client sends a request once, and the server gives two or more responses
Solution: Clean up redundant responses; immediately return the function after each response