<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] ## 信息 ~~~[api] post:/elecoupons/info *int:id=默認值1#ID <<< success { "code": 0, "info": "成功", "data":{ "id": 2, "type": 1, "title": "測試電子券測試電子券測試", "num": 20, "inventory": 0, "code": 0, "deduction": "10.00", "money": "100.00", "validity_type": 1, "validity": 30, "start_date": "2018-11-01", "end_date": "2019-01-01", "use_week": "1,2,3", "is_giving": 1, "get_limit_type": 1, "get_limit": 2, "use_limit": 1, "rules": "我是使用規則", "user_id": 1000 } } <<< error ~~~ ## 列表 ~~~[api] post:/elecoupons/getlist *int:page=1#頁碼 *int:limit=10#每頁顯示個數 <<< success { "code": 0, "info": "成功", "data":[ {"id": 4, "type": 1, "title": "測試電子券測試電子券測試", "num": 20, "inventory": 0,…}, {"id": 3, "type": 1, "title": "測試電子券測試電子券測試", "num": 20, "inventory": 0,…}, {"id": 2, "type": 1, "title": "測試電子券測試電子券測試", "num": 20, "inventory": 0,…}, {"id": 1, "type": 1, "title": "測試電子券測試電子券測試", "num": 20, "inventory": 0,…} ] } <<< error ~~~ ## 添加add ~~~[api] post:/elecoupons/add *int:type=1#電子券類型 1現金券,2兌換券 *string:title=test#電子券名稱 *int:deduction=10# type=1 必傳 --- 可抵扣金額 *int:validity_type=1|2|3#有效期1-指定時間,2-領取計算,3會員有效期 *string:start_num=2018-11-01# validity_type=1,選擇時間段-開始時間,validity_type=2;電子券領取后多少天開始計算 *string:end_num=2018-12-01# validity_type=1,選擇時間段-結束時間,validity_type=2,有效天數 *string:use_week=1,2,3 # 周一到周天 *int:is_giving=1#是否可贈送,0否,1是 *int:get_limit_type=1#領取限制:1-不限制,2-數量限制,3-有效期內僅一張 *int:get_limit=2 #數量限制輸入數量 *string:level_ids=1# get_limit_type=4 適用等級ID串 int:use_limit=1# type=1 必傳 --- 使用限制,0不可疊加,1可疊加 *string:rules=test#使用規則 *string:shop_ids=1,2,3#適用門店ID串 int:num=30#數量 int:money=100# type=1 傳 --- 滿多少金額可用 *int:inventory=10# 庫存數量 *int:is_self=10# 是否支持自助核銷 0-不支持,1-支持 *array:put=array#可投放員工id數組 *array:auditor=array#可核銷員工id數組 <<< success <<< error ~~~ ## 編輯標題、規則 ~~~[api] post:/elecoupons/edittitle *int:id=1000#Id *string:title=test#電子券名稱 string:rules=test#使用規則 <<< success <<< error ~~~ ## 刪除 ~~~[api] post:/elecoupons/del *int:id=1000#Id <<< success ~~~ ## 制券記錄 ~~~[api] post:/elecoupons/logslist *int:page=1#頁碼 *int:limit=10#每頁顯示個數 <<< success <<< error ~~~ ## 庫存變更 ~~~[api] post:/elecoupons/addinventory *int:plusOrMinus=1#1-增加,0減少 *int:inventory_num=10#庫存數 *int:coupon_id=1#電子券ID <<< error ~~~ ## 庫存變更列表 ~~~[api] post:/elecoupons/getinventorylist *int:page=1#頁碼 *int:limit=10#每頁顯示個數 *int:coupon_id=1#電子券ID <<< success <<< error ~~~ ## 設置電子券 投放人、核銷人 ~~~[api] post:/elecoupons/setadd *int:coupon_id=1#電子券ID *int:type=1# 1-投放人,2-核銷人 *array:user_ids=array#員工id數組 <<< success <<< error ~~~ ## 獲取電子券 投放人、核銷人 ~~~[api] post:/elecoupons/getuser *int:coupon_id=1#電子券ID *int:type=1# 1-投放人,2-核銷人 <<< 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>

                              哎呀哎呀视频在线观看