stanley-king 8 rokov pred
rodič
commit
fe9333547c
1 zmenil súbory, kde vykonal 2 pridanie a 2 odobranie
  1. 2 2
      mobile/api/wxLogin/index.php

+ 2 - 2
mobile/api/wxLogin/index.php

@@ -11,6 +11,6 @@ $_SESSION['state'] = md5(rand(111111, 99999999));
 
 $url = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid='.appID.'&redirect_uri='.urlencode(BACKURL).'&response_type=code&scope=snsapi_userinfo&state='.$_SESSION['state'].'#wechat_redirect';
 //跳转即可
-header('location:'.$url);
+Log::record("url={$url}",Log::DEBUG);
 
-Log::record("url={$url}",Log::DEBUG);
+header('location:'.$url);