Problem description : Ajax request, the page has the following error
Error reason: there are two
1. The request type is wrong, such as a post request, but a get request is set in the background
2. The parameters are wrong. For example, there is no parameter passed, or the parameter does not correspond
The reason for my error is the second one, ajax passes the parameter, but the passed parameter is not defined;
problem solved:
Define the passed parameters, you can solve