qiushang hace 8 meses
padre
commit
5487dd89e0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Http/Api/WechatOfficialController.php

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

@@ -241,7 +241,7 @@ class WechatOfficialController extends HttpBaseController
                     return "欢迎你关注助友办公软件";
                 } else {
                     $oauthUrl = $this->app->oauth->withState(base64_encode($sceneStr))->redirect();
-                    $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', '', $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=WHdCeXhSMW5vUHgzOjUyNDEzYTY3MWVjNzAzNDc4M2FhM', '', $oauthUrl);
                     $items = [
                         new NewsItem([
                             'title' => '',