A simple post request, which was normal before, suddenly went wrong. As thinkphp5.0 is not very familiar with it, it should not be a big problem. I hope you will pass by and have a look.
- WeChat Mini Programs client sends post request code, which does not involve WeChat Mini Programs"s knowledge
postman
Route::post("api/:version/token/user","api/:version.Token/getToken");
from the point of view of the Request object, there is no problem. The way is that the post, data is also in this object. What is puzzling is that it was all good before, and the value of code was obtained directly by parameter binding. Now I don"t know where I changed it, or how I suddenly made a mistake.
Thank you all for passing by for your advice. If you have any mental retardation, please include it.