<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>

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                # 第三方賬號 >[info] 第三方賬號登錄,如(微信,QQ一鍵登錄等); ## 調用綁定 請求地址:[https://你的域名/api/oauth/{way}](https://xn--6qqv7i2xdt95b/api/oauth/%7Bway%7D) 地址參數: | 字段 | 名稱 | 說明 | | --- | --- | --- | | alias | 綁定方式 | 第三方賬號別名 alias | 請求方法:GET 請求數據: | 字段 | 名稱 | 說明 | | --- | --- | --- | | | | | 注:根據不同接口提交請求數據; 返回數據: | 字段 | 名稱 | 說明 | | --- | --- | --- | | | | | 注:根據不同接口返回數據; 請求示例: ``` request({ url: "https://demo.bottlecms.com/api/oauth/wxapp", method: "GET", data:{ code:"003ukm000uVtLL1LM7200AWxeQ0ukm0x", iv:"le7q13cz0nBIUH3LAza55Q%3D%3D", encryptedData:"Cu6xd3EqfTbbGx85fabFyMr38ezHmtJY2TyC7xh4fZQ91T1H0X09KhoMsGbuvMb498E8%2B2591kQ17c4UdviGllBVC7nrjLlxWdjNVbkinFdJjD%2FM6Ilw3jzWTud30RYbox6aCs9r%2Bzygkl77KX%2BnsjeNOwCbe7GzRYo0oGV2w%2BOYa4q5hW4Ro6TBJg%2FIsYERTXVU8Im04z8BsmdzHxtFz1uTuk%2Fi4T%2FIUWq4GA0JgYXwVgtioSnhnR%2ByTQnIwh8PTl56oBoN4dSDJUQHnppi7ll0fwQhiOdxoBHoXEBJ02pU5j0SZSINfWp4kKm498F2R%2FJnyd6GHGfPbF%2FJTpLN4LMiK8mpgaP%2Bv6yO8hA7%2B6oX2FKEsaKc1giCtMv8MaQI6l8KklJSoN6CrfGLxboRFcDsoL67MdhxINBfjJIpPYahRfLrNUJmC8PXij9YLyz5" } success: (res) => { if(res.code==200){ //返回成功 console.log(res.obj); //儲存用戶數據 } } }); ``` 返回示例: ``` { "success":true, "code":200, "msg":"登錄成功", "obj":{ "user_id": 542, "username": "wxapp_05511039153", "user_type": 0, "user_eid": "f4c80d755a9a1037d7b69993c341bcf9", "access_token": "$2y$10$FtpTsZBtCwRYizxeI7.C1eNFXOcSF8WpyyG0TnRHBfXzCCTCusp6u", "access_token_timeout": "2021-05-20 16:01:31", "user_group_id": "2", "user_group_action": "karma,nearby,single_index,single_show,voice_index,video_index,manage_like,activity_index,activity_show,appointment_index,appointment_show,moment_index,moment_create,topic_index,topic_show,post_index,post_create,groupchat_index,groupchat_show" } } ``` ## 綁定賬號 請求地址:[https://你的域名/api/oauth/{alias}/bind](https://xn--6qqv7i2xdt95b/api/oauth/%7Balias%7D/bind) 地址參數: | 字段 | 名稱 | 說明 | | --- | --- | --- | | alias | 綁定方式 | 第三方賬號別名 alias[](https://xn--6qqv7i2xdt95b/api/login/sendsmscode) | 請求方法:POST 請求數據: | 字段 | 名稱 | 說明 | | --- | --- | --- | | bind\_way | 綁定方式(登錄/注冊) | 可選:register 或 login | | bind\_way\_item | 登錄/注冊方式 | 可選:mobile 或 email 或password(僅支持登錄) | | openid | 識別ID | 第三方賬號用戶唯一識別ID | | unionid | 公共識別ID | 第三方賬號用戶公共識別ID | | username | 用戶名 | (mobile, email,password) 三選一 | | password | 密碼 | (mobile, email,password) 三選一 | | mobile | 手機號 | (mobile, email,password) 三選一 | | smsyzm | 短信驗證碼 | (mobile, email,password) 三選一 | | email | 郵箱 | (mobile, email,password) 三選一 | | emailyzm | 郵箱驗證碼 | (mobile, email,password) 三選一 | | introducer | 介紹人 | bind\_way為register時可用 | 返回數據:參照注冊/登錄返回數據; 請求示例: ``` request({ url: "https://demo.bottlecms.com/api/oauth/wxapp/bind", method: "POST", data:{ bind_way:"register", bind_way_item:"mobile", mobile:"13100000001", smsyzm:"020312" }, success: (res) => { if(res.code==200){ //返回成功 console.log(res.obj); } } }); ``` 返回示例: ``` { "success":true, "code":200, "msg":"注冊成功", "obj":{ "user_id": 542, "username": "wxapp_05511039153", "user_type": 0, "user_eid": "f4c80d755a9a1037d7b69993c341bcf9", "access_token": "$2y$10$FtpTsZBtCwRYizxeI7.C1eNFXOcSF8WpyyG0TnRHBfXzCCTCusp6u", "access_token_timeout": "2021-05-20 16:01:31", "user_group_id": "2", "user_group_action": "karma,nearby,single_index,single_show,voice_index,video_index,manage_like,activity_index,activity_show,appointment_index,appointment_show,moment_index,moment_create,topic_index,topic_show,post_index,post_create,groupchat_index,groupchat_show" } } ``` ## 解除綁定 請求地址:[https://你的域名/api/oauth/{alias}/release](https://xn--6qqv7i2xdt95b/api/oauth/%7Balias%7D/release) 地址參數: | 字段 | 名稱 | 說明 | | --- | --- | --- | | alias | 綁定方式 | 第三方賬號別名 alias[](https://xn--6qqv7i2xdt95b/api/login/sendsmscode) | 請求方法:GET 請求數據:NULL 返回數據:參照注冊/登錄返回數據; 請求示例: ``` request({ url: "https://demo.bottlecms.com/api/oauth/wxapp/release", method: "GET", success: (res) => { if(res.code==200){ //返回成功 console.log(res.obj); } } }); ``` 返回示例: ``` { "success":true, "code":200, "msg":"解綁成功", } ```
                  <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>

                              哎呀哎呀视频在线观看