<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                # 類名 ~~~ \Oreo\Wechat\Auth\WechatAuth ~~~ # # 參數 | 名稱 | 類型 | 說明 | | --- | --- | --- | | appId | String | 公眾號的唯一標識 | | scope | String | 應用授權作用域,snsapi\_base?(不彈出授權頁面,直接跳轉,只能獲取用戶openid),snsapi\_userinfo?(彈出授權頁面,可通過openid拿到昵稱、性別、所在地。并且,即使在未關注的情況下,只要用戶授權,也能獲取其信息) | | redirectUri | String | 授權后重定向的回調鏈接地址 | # ## 調用函數 | 函數名稱 | 類型 | 傳參值 |說明 | | --- | --- | --- | --- | | authIndex | Int | 1 | 1=>獲取Code; 2=>Code兌換OpenId和access_token;3=>小程序Code兌換OpenId;4=>根據access_token和OpenId獲取用戶信息;| # ## 調用方法(實例) ``` $wx = new \Oreo\Wechat\Auth\WechatAuth(); //初始化類 $wx->appId = 'wxc123457898'; //公眾號appId $wx->scope = 'snsapi_userinfo'; //這里因業務需要而變 $wx->redirectUri = 'https://www.xxx.com/api/callBack'; //微信授權成功后回調Code的鏈接 return $wx->authIndex(1); // //完成以上操作后回調地址會收到code ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看