I developed it using laravel,
Code to redirect to WeChat:
$redirect_url= 'xxx.com/xx/x';
return redirect()->intended($redirect_url);
But in the corresponding controller, sometimes there will be a problem of not getting the code. In most cases, it can be obtained. What is the situation? Is it a problem with WeChat itself?