<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 功能強大 支持多語言、二開方便! 廣告
                #### 列表 ~~~[api] get:/index/coupon/index *number:storesId#門店ID number:p=1#當前頁數 numbner:ps=20#分頁大小 <<< success { "code": 1, "msg": "", "time": "2018-08-15 17:41:27", "data": [ { "id": 1, "dealer_id": 2, "stores_id": 2, "name": "優惠券1", "money": "5.00", "number": 1, "conditions": { "type": 1, "value": "" }, "status": 1, "created_at": "2016-01-01 00:00:00", "updated_at": "2016-01-01 00:00:00", "start_at": "2016-01-01 00:00:00", "end_at": "2016-01-01 00:00:00", "stores": { "id": 2, "name": "門店2", "thumb": "http://oss.dgyouduo.com/static/img/no-image.png" }, "status_text": "正常" } ], "_meta": { "totalCount": 1, "pageCount": 1, "currentPage": 1, "perPage": 10 } } ~~~ #### 領取 ~~~[api] post:/index/coupon/receive/id/:id <<< success { "code": 1, "msg": "success", "time": "2018-08-16 15:32:08", "data": [] } ~~~ #### 我的 ~~~[api] get:/index/coupon/my number:p=1#當前頁數 numbner:ps=20#分頁大小 <<< success { "code": 1, "msg": "", "time": "2018-08-22 00:22:08", "data": [ { "id": 1, "coupon_id": 1, "member_id": 1, "order_id": null, "status": 1, "created_at": "2018-08-16 15:32:08", "updated_at": "2018-08-16 15:32:08", "coupon": { "id": 1, "dealer_id": 2, "stores_id": 2, "name": "優惠券1", "money": "5.00", "number": 0, "conditions": { "type": 1, "value": "" }, "status": 1, "created_at": "2016-01-01 00:00:00", "updated_at": "2018-08-16 15:32:08", "start_at": "2016-01-01 00:00:00", "end_at": "2016-01-01 00:00:00", "stores": { "id": 2, "name": "門店2", "is_audit": 1, "status": 1, "is_audit_text": "審核通過", "status_text": "正常" }, "status_text": "正常" }, "status_text": "正常" } ], "_meta": { "totalCount": 1, "pageCount": 1, "currentPage": 1, "perPage": 10 } } ~~~ #### 可用 > 存在商品秒殺ID將返回空數組 ~~~[api] post:/index/coupon/usable *number:stores_id#門店ID *array:goods#商品 *number:goods_id#商品ID *string:sku_key#商品存放SKU庫存量項目ID *number:number#商品數量 number:seckill_id#秒殺ID <<< success { "code": 1, "msg": "", "time": "2018-08-21 18:47:01", "data": { "1": { "id": 4, "coupon_id": 5, "member_id": 4, "order_id": null, "status": 1, "created_at": "2018-08-21 14:33:47", "updated_at": "2018-08-21 14:33:47", "coupon": { "id": 5, "dealer_id": 1, "stores_id": 17, "name": "無條件優惠券1", "money": "10.00", "number": 19, "conditions": { "type": 1, "value": "" }, "status": 1, "created_at": "2018-08-21 14:32:48", "updated_at": "2018-08-21 14:33:48", "start_at": "2018-08-21 00:00:00", "end_at": "2018-08-22 00:00:00", "status_text": "正常" }, "status_text": "正常" } } } <<< success秒殺 { "code": 1, "msg": "", "time": "2018-08-23 17:07:37", "data": [] } <<< example { "stores_id": 17, "goods": [ { "goods_id": 39, "sku_key": "", "number": 10 } ] } <<< example秒殺 { "stores_id": 17, "goods": [ { "goods_id": 39, "sku_key": "", "number": 10, "seckill_id": 6 } ] } ~~~
                  <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>

                              哎呀哎呀视频在线观看