As the question! If the user name already exists, the user will report that the user has been registered, but the background says that the user has not received the data, as shown in the following figure!
If the user name already exists, the user will report that the user has been registered, but the background says that the user has not received the data.
Reply content:
As the question!
If the user name already exists, the user will report that the user has been registered, but the background says that the user has not received the data.
Check the nginx log to see if the request has been received. Or install a Fiddle to debug the interface.
First, use the http tool to access the interface according to the interface parameters. if the problem cannot be found, you have to set debugging in the PHP method.
Directly create a new table, and then write an insert statement at the beginning. If all the post or get parameters are saved, you will know that the interface is gone, another important thing is to check whether the transmitted value is correct. You can also write insert statements in multiple places to see where the segments are, so that you can know why the problem occurs.
Test the interface separately (determine whether the user name has been used) to see if it has been successful