<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國際加速解決方案。 廣告
                [TOC] ## 看房掃碼 * 請求地址: `/scan_code/look_room` * 請求方式: post * 請求參數: | 字段名 | 字段類型 | 字段長度 | 必填 | 字段說明 | | --- | --- | --- | --- | --- | | `id` | int | 11 | `是` | 申請看房的id | | `sn` | string | 20 | `是` | 門鎖上面二維碼掃出的編號 | * 成功返回: ```json { "code": 0, "data": { "id": 1,//看房記錄id "password":123456 } } ``` * 失敗返回: ```json { "code": -1, "msg": "參數錯誤!" } ``` ## 首頁掃碼 ~~~[api] post:/scan_code/open_door *string:sn=0122010000000023#門鎖上的序列號 <<< success //成功掃碼并且開鎖 { "code": 0, "data": { "id": 1,//看房記錄id "password":123456 } } <<< success //需要先注冊或者登錄 { "code": 1 } <<< success //需要先綁定手機 { "code":2 } <<< success //需要充值押金 { "code":3 } <<< error { "code": -1, "msg": "參數錯誤!" } ~~~ ## 首頁掃碼 * 請求地址: `/scan_code/open_door` * 請求方式: post * 請求參數: | 字段名 | 字段類型 | 字段長度 | 必填 | 字段說明 | | --- | --- | --- | --- | --- | | `sn` | string | 20 | `是` | 門鎖上面二維碼掃出的編號 | * 成功返回: >[success] 沒有看房/租房掃碼 ```json { "code": 0, "data": { "id": 1,//看房記錄id "password":123456 } } ``` >[success] 已經租房 ```json { "code":0, "data":{ "password":123456 } } ``` * 失敗返回: ```json { "code": -1, "msg": "參數錯誤!" } ``` ## 結束看房 * 請求地址: `/scan_code/close_door` * 請求方式: post * 請求參數: | 字段名 | 字段類型 | 字段長度 | 必填 | 字段說明 | | --- | --- | --- | --- | --- | | `id` | int | 11 | `是` | 申請看房的id | >[info] 申請看房的id 是 開門后返回的id * 成功返回: ```json { "code": 0, "data": { "sum": 0,//看房費用 "k_time": 1515756146,//開始看房時間 "c_time": 1515756190//結束看房時間 } } ``` * 失敗返回: ```json { "code": -1, "msg": "參數錯誤!" } ``` ## 重新掃碼 ~~~[api] post:/scan_code/rescan *string:sn=123456#掃出的電子鎖的編號 <<< success { "code": 0, "data": { "password": 109575 } } <<< error { "code": -1, "msg": "開鎖失敗!" } ~~~ ## 重置密碼 >[danger] 由于服務端的沒有定時器,為避免密碼不變,離開掃碼的頁面請重置一下密碼 ~~~[api] post:/scan_code/reset <<< success <<< error ~~~
                  <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>

                              哎呀哎呀视频在线观看