Home  >  Q&A  >  body text

php - When authorizing the WeChat web page to obtain the code, it occasionally fails to obtain it?

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?

大家讲道理大家讲道理2698 days ago847

reply all(2)I'll reply

  • 女神的闺蜜爱上我

    女神的闺蜜爱上我2017-06-22 11:56:03

    Are the redirected hosts the same?

    reply
    0
  • 三叔

    三叔2017-06-22 11:56:03

    Now WeChat authorization must put a file on the server, have you put it?

    reply
    0
  • Cancelreply