<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:/goods/info *int:id=默認值1#商品id <<< success { "code": 0, "info": "成功", "data":{ "id": 1, "title": "test2", "sn": "112345", "price": "1.00", "state": 1, "goods_brand_id": 1, "goods_brand_title": "test" } } <<< error ~~~ ## 商品列表 ~~~[api] post:/goods/getlist int:goods_brand_id=1#品牌id int:goods_type_id=1#分類id *int:page=1#頁碼 *int:limit=10#每頁顯示個數 string:key=id#排序字段名 string:order=normal#排序方式 <<< success { "code": 0, "info": "成功", "data":[ { "id": 4, "title": "我是測試的重名的", "sn": "", "price": "99.00", "state": 1, "goods_brand_id": 2, "goods_brand_title": "test" }, { "id": 3, "title": "我是測試的重名的", "sn": "", "price": "99.00", "state": 1, "goods_brand_id": 1, "goods_brand_title": "test" } ] } <<< error ~~~ ## 商品列表---不需要品牌ID ~~~[api] post:/goods/getlistall *int:page=1#頁碼 *int:limit=10#每頁顯示個數 <<< success { "code": 0, "info": "成功", "data":[ { "id": 4, "title": "我是測試的重名的", "sn": "", "price": "99.00", "state": 1, "goods_brand_id": 2, "goods_brand_title": "test" } ] } <<< error ~~~ ## 添加商品 ~~~[api] post:/goods/add *string:title=test#商品名稱 *int:goods_brand_id=1#商品品牌id *int:goods_type_id=1#商品分類id *int:price=1.11#商品零食價 int:sn=690000000#條形碼 <<< success { "code": 0, "info": "成功", "data":{ "title": "test2", "price": "1", "goods_brand_id": "1", "sn": "112345", "id": "1" } } <<< error ~~~ ## 編輯品牌 ~~~[api] post:/goods/edit *int:id=1000#商品Id *string:title=張三#商品名稱 *int:goods_brand_id=1#商品品牌id *int:goods_type_id=1#商品分類id *int:price=1.11#商品零食價 int:sn=690000000#條形碼 *int:state=1#狀態 0-停業,1-營業 <<< success { "code": 0, "info": "成功", "data":{ "title": "test", "id": "1", "state": "0", "goods_brand_id": "2", "price": "20" } } <<< error ~~~ ## 生成商品sn ~~~[api] post:/goods/getsn <<< success { "code": 0, "info": "成功", "data": "2228467132170" } <<< error ~~~ ## 刪除商品 ~~~[api] post:/goods/del *int:id=1000#商品Id <<< success { "code": 0, "info": "成功", "data": 1 } <<< error { "code": 14002, "info": "該商品下有銷售記錄,不能刪除", "data": null } ~~~ ## 商品列表2 ~~~[api] post:/goods/getsearchlist *int:page=1#頁碼 *int:limit=10#每頁顯示個數 string:search= 搜索關鍵字#關鍵字 <<< success { "code": 0, "info": "成功", "data":[ { "id": 3, "title": "111請求", "sn": "2228770995988", "price": "2.01", "state": 1, "goods_brand_id": 5, "brand_title": "聯想", "type_title": "手機" }, {"id": 1, "title": "11", "sn": "2225650482668", "price": "1.00",…} ] } <<< error ~~~ ## Excel導入商品 ~~~[api] post:/goods/importExcel *string:excel=文件# 上傳的excel文件 <<< success data 有值說明有未上傳成功的 data 為空說明全部上傳成功 data 數組的key為Excel表格的橫號 remark 為上傳失敗說明 { "code": 0, "info": "成功", "data":[ "2": { "A":"化妝品" "B":"佰草集" "C":"深潤活顏潔面乳", "D":"6901294702509" "E":"120" "F":"1", "remark":"導入失敗【sn已存在】" }, ] } <<< 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>

                              哎呀哎呀视频在线观看