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

                合規國際互聯網加速 OSASE為企業客戶提供高速穩定SD-WAN國際加速解決方案。 廣告
                # 注冊用戶 >[info] 提交用戶注冊表單; > 發送注冊短信驗證碼; > 發送注冊郵箱驗證碼; ## 提交注冊表單 請求地址:[https://你的域名/api/register](https://xn--6qqv7i2xdt95b/api/register) 請求方法:POST 請求數據: | 字段 | 名稱 | 說明 | | --- | --- | --- | | mobile | 手機號 | 手機號郵箱二選一 | | smsyzm | 短信驗證碼 | 短信郵箱驗證二選一 | | email | 郵箱 | 彈出通知或紅點 | | emailyzm | 郵箱驗證碼 | 短信郵箱驗證二選一 | | username | 用戶名 | 非必填 | | password | 密碼 | 非必填 | | introducer | 介紹人 | 非必填,用戶encryptId | 注:(手機號,短信驗證碼)和(郵箱,郵箱驗證碼)二選一; 返回數據: | 字段 | 名稱 | 說明 | | --- | --- | --- | | user\_id | 用戶UID | | | username | 用戶名 | | | user\_eid | 加密UID | | | access\_token | 用戶access\_token | | | access\_token\_timeout | token超期時間 | | | user\_group\_id | 用戶組ID | | | user\_group\_action | 用戶權限 | | 請求示例: ``` request({ url: "https://demo.bottlecms.com/api/register", method: "POST", data:{ mobile:"13100000009", smsyzm:"323232", username:"jeck", password:"123456" } 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/register/sendsmscode](https://xn--6qqv7i2xdt95b/api/register/sendsmscode) 請求方法:POST 請求數據: | 字段 | 名稱 | 說明 | | --- | --- | --- | | mobile | 手機號 | | 返回數據:NULL 請求示例: ``` request({ url: "https://demo.bottlecms.com/api/register/sendsmscode", method: "POST", data:{ mobile:"13100000001" }, success: (res) => { if(res.code==200){ //返回成功 console.log(res.obj); } } }); ``` 返回示例: ``` { "success":true, "code":200, "msg":"發送成功", } ``` ## 發送郵箱驗證碼 請求地址:[https://你的域名/api/register/sendemailcode](https://xn--6qqv7i2xdt95b/api/register/sendemailcode) 請求方法:POST 請求數據: | 字段 | 名稱 | 說明 | | --- | --- | --- | | email | 郵箱 | | 返回數據:NULL 請求示例: ``` request({ url: "https://demo.bottlecms.com/api/register/sendemailcode", method: "POST", data:{ email:"abc@abc.com" }, 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>

                              哎呀哎呀视频在线观看