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

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                [TOC] ## 獲取員工店面列表 ~~~[api] post:/user/shoplist *int:page=1#頁碼 *int:limit=10#每頁顯示個數 string:key=id#排序字段名 string:order=normal#排序方式 <<< success <<< error ~~~ ## 編輯會員獲取員工列表 ~~~[api] post:/user/getlist <<< success { "code": 0, "info": "成功", "data":[ { "id": 1, "shop_name": "淘寶店", "userList":[ {"id": 1000, "name": "老板"}, {"id": 1003, "name": "颯颯"}, {"id": 1004, "name": "胡歌"} ] }, { "id": 2, "shop_name": "京東店", "userList":[ {"id": 1001, "name": "李亮"}, {"id": 1002, "name": "王璟珩"} ] }, { "id": 3, "shop_name": "東大街店", "userList":[ {"id": 1008, "name": "梁海鵬"} ] } ] } ~~~ ## 員工二維碼 ~~~[api] post:/user/qrcode <<< success <<< error ~~~ ## 員工信息 ~~~[api] post:/user/info *int:id=默認值1000#員工Id <<< success { "code": 0, "info": "成功", "data":{ "id": 1000, "name": "_ADMIN_NAME", "code": "", "token": "", "phone": "_ADMIN_PHONE", "identity": "", "entry_date": "2019-01-01", "leave_date": "2099-01-01", "shop_id": 1, "state": 1, "wechat_user_id": 1, "qrcode_url": "http://localhost/_ALIAS/api/v1/wechat/index?url=/_ALIAS/api/v1/user/bingbyqrcode/uid/1000", "shop_name": "_SHOP_NAME" } } <<< error { "code": 310, "info": "用戶不存在", "data": null } { "code": 401, "info":{ "id": "id必須是數字" }, "data": null } ~~~ ## 員工列表 ~~~[api] post:/user/list *int:page=1#頁碼 *int:limit=10#每頁顯示個數 *int:shop_id=10#門店id string:key=id#排序字段名 string:order=normal#排序方式 <<< success { "code": 0, "info": "成功", "data":[ { "id": 1000, "name": "_ADMIN_NAME", "code": "", "token": "", "phone": "_ADMIN_PHONE", "identity": "", "entry_date": "2019-01-01", "leave_date": "2099-01-01", "shop_id": 1, "state": 1, "wechat_user_id": 1, "shop_name": "_SHOP_NAME" }, { "id": 1001, "name": "testrui", "code": "", "token": "", "phone": "1820", "identity": "", "entry_date": "2017-09-12", "leave_date": "2099-01-01", "shop_id": 1, "state": 1, "wechat_user_id": 0, "shop_name": "_SHOP_NAME" } ] } <<< error ~~~ ## 添加員工 ~~~[api] post:/user/add *string:name=張三#員工姓名 *string:phone=182xxxxxxxx#聯系電話 *string:entry_date=2018-10-22#入職時間 *int:shop_id=1#歸屬門店 <<< success { "code": 0, "info": "成功", "data":{ "name": "testrui", "phone": "1820", "entry_date": "2017-09-12", "shop_id": "1", "id": "1001" } } <<< error ~~~ ## 編輯員工 ~~~[api] post:/user/edit *int:id=1000#員工Id *string:name=張三#員工姓名 *string:phone=182xxxxxxxx#聯系電話 *string:entry_date=2018-10-22#入職時間 *int:shop_id=1#歸屬門店 *int:state=1#狀態 0-離職,1-在職 <<< success { "code": 0, "info": "成功", "data":{ "id": "1001", "name": "testrui", "phone": "1820", "entry_date": "2017-09-12", "shop_id": "1", "state": "0" } } <<< error ~~~ ## 已綁定微信的員工數 ~~~[api] post:/user/bindnum <<< success { "code": 0, "info": "成功", "data":{ "allNum": 2, "bindNum": 1 } } <<< error ~~~ ## 通過手機號綁定前驗證是否已綁定過 ~~~[api] post:/user/checkuser <<< success { "code": 0, "info": "成功", "data":0-未綁定,1-已綁定 } <<< error ~~~ ## 綁定手機 ~~~[api] post:/user/bingbyphone *int:phone=182xxxxxxxx#手機號 <<< success { "code": 0, "info": "成功", "data":{ "id": 1001, "wechat_user_id": 1 } } <<< error ~~~ ## 員工解除綁定微信功能 ~~~[api] post:/user/relieve *int:id=1#員工ID <<< success { "code": 0, "info": "成功", "data":{ "id": 1001, "wechat_user_id": 1 } } <<< error ~~~ ## 二維碼綁定 ~~~[api] get:/user/bingbyqrcode/uid/1 <<< success { "code": 0, "info": "成功", "data":{ "id": 1001, "wechat_user_id": 1 } } <<< error ~~~ ## 一鍵重置權限 ~~~[api] post:/user/resetcompetence *int:id=1#0-全部,>0 user_id <<< 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>

                              哎呀哎呀视频在线观看