qiushang 8 months ago
parent
commit
14c2cc6ea3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/Http/Api/WechatOfficialController.php

+ 1 - 0
app/Http/Api/WechatOfficialController.php

@@ -241,6 +241,7 @@ class WechatOfficialController extends HttpBaseController
                     return "欢迎你关注助友办公软件";
                 } else {
                     $oauthUrl = $this->app->oauth->withState(base64_encode($sceneStr))->redirect();
+                    Log::info('1111111111111111111 === ' . 'url=' . $oauthUrl );
                     //$oauthUrl = str_replace('https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx1edb103f32029099&redirect_uri=https%3A%2F%2Fwww.qasimblog.com%2Fapi%2Fwechat%2FoauthCallback&response_type=code&scope=snsapi_userinfo&state=WHdCeXhSMW5vUHgzOjUyNDEzYTY3MWVjNzAzNDc4M2FhMWEzMDMyNmRlMjNk&connect_redirect=1#wechat_redirect', '', $oauthUrl);
                     $items = [
                         new NewsItem([