According to your code, the data cannot be returned and a 500 error is reported, showing the file Failed to load resource: the server responded with a status of 500 (Internal Server Error). I have been working on it for a long time and I don’t know where the error is.
F12, the specific reason for the error can be seen in the network