<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國際加速解決方案。 廣告
                #### 列表 ~~~[api] get:/index/cart/index <<< success { "code": 1, "msg": "", "time": "2018-06-20 23:45:27", "data": [ { "id": 2, "name": "門店2", "thumb": "http://oss.dgyouduo.com/static/img/no-image.png", "goods": [ { "id": 2, "name": "測試商品1", "thumb": "http://oss.dgyouduo.com/static/img/no-image.png", "price": "100.00", "market_price": "200.00", "number": 100, "selected": 1 } ] } ] } ~~~ #### 增加 > 已存在的購物車商品數量如果超過商品當前庫存,則直接設置為當前庫存 > 不傳 number 則數量+1 ~~~[api] post:/index/cart/increase *number:goods_id#商品ID string:sku_key=null#商品庫存量單位ID number:number#數量 <<< success { "code": 1, "msg": "", "time": "2018-06-20 23:45:27", "data": [ { "id": 2, "name": "門店2", "thumb": "http://oss.dgyouduo.com/static/img/no-image.png", "goods": [ { "id": 2, "name": "測試商品1", "thumb": "http://oss.dgyouduo.com/static/img/no-image.png", "price": "100.00", "market_price": "200.00", "number": 100, "selected": 1 } ] } ] } ~~~ #### 減少 > 已存在的購物車商品數量如果超過商品當前庫存,則直接設置為當前庫存 > 不傳 number 則數量-1 ~~~[api] post:/index/cart/decrease *number:goods_id#商品ID string:sku_key=null#商品庫存量單位ID number:number#數量 <<< success { "code": 1, "msg": "", "time": "2018-06-20 23:45:27", "data": [ { "id": 2, "name": "門店2", "thumb": "http://oss.dgyouduo.com/static/img/no-image.png", "goods": [ { "id": 2, "name": "測試商品1", "thumb": "http://oss.dgyouduo.com/static/img/no-image.png", "price": "100.00", "market_price": "200.00", "number": 100, "selected": 1 } ] } ] } ~~~ #### 選中 > 門店ID或商品ID選擇一個傳值即可 ~~~[api] post:/index/cart/select *number:stores_id#門店ID *number:goods_id#商品ID string:sku_key=null#商品庫存量單位ID <<< success { "code": 1, "msg": "", "time": "2018-06-20 23:45:27", "data": [ { "id": 2, "name": "門店2", "thumb": "http://oss.dgyouduo.com/static/img/no-image.png", "goods": [ { "id": 2, "name": "測試商品1", "thumb": "http://oss.dgyouduo.com/static/img/no-image.png", "price": "100.00", "market_price": "200.00", "number": 100, "selected": 1 } ] } ] } ~~~ #### 取消選中 > 門店ID或商品ID選擇一個傳值即可 ~~~[api] post:/index/cart/unselect *number:stores_id#門店ID *number:goods_id#商品ID string:sku_key=null#商品庫存量單位ID <<< success { "code": 1, "msg": "", "time": "2018-06-20 23:45:27", "data": [ { "id": 2, "name": "門店2", "thumb": "http://oss.dgyouduo.com/static/img/no-image.png", "goods": [ { "id": 2, "name": "測試商品1", "thumb": "http://oss.dgyouduo.com/static/img/no-image.png", "price": "100.00", "market_price": "200.00", "number": 100, "selected": 1 } ] } ] } ~~~ #### 刪除 ~~~[api] post:/index/cart/delete *array:ids#商品ID集合 <<< success { "code": 1, "msg": "", "time": "2018-06-20 23:45:27", "data": [ { "id": 2, "name": "門店2", "thumb": "http://oss.dgyouduo.com/static/img/no-image.png", "goods": [ { "id": 2, "name": "測試商品1", "thumb": "http://oss.dgyouduo.com/static/img/no-image.png", "price": "100.00", "market_price": "200.00", "number": 100, "selected": 1 } ] } ] } <<< example { "ids": [1, 2] } ~~~
                  <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>

                              哎呀哎呀视频在线观看