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

                ??一站式輕松地調用各大LLM模型接口,支持GPT4、智譜、豆包、星火、月之暗面及文生圖、文生視頻 廣告
                **簡要描述:** - 編輯優惠券 **請求URL:** - `/adminapi/marketing.coupon/edit` **請求方式:** - POST **參數:** |參數名 |必選 |類型 |說明 | | ------ | ------ | ------ |------ | |id |必選 |int |優惠券ID | |name |必選 |string |優惠券名稱 | |money |必選 |float |優惠券面額 | |condition_type |必選 |int |使用條件 1=無門檻,2=訂單滿多少錢 | |condition_money |否 |float |使用條件金額,當condition_type=2時必填 | |send_total_type |必選 |int |發放數量類型 1=不限數量,2=固定數量 | |send_total |否 |int |發放數量,send_total_type=2時必填 | |use_time_type |必選 |string |用券時間類型:1=固定時間;2=領券當天起;3=領券次日起 | |use_time_start |否 |datetime |用券開始時間:use_time_type=1時生效 | |use_time_end |否 |datetime |用券結束時間:use_time_type=1時生效 | |use_time |否 |int |多少天內可用:use_time_type=2/3時生效 | |get_type |必選 |int |領取類型:1=用戶領取, 2=商家贈送 | |get_num_type |必選 |int |領取次數類型:1=不限制領取次數;2=限制次數;3=每天限制數量 | |get_num |否 |int |領取次數類型: get_type=2/3時生效 | |use_goods_type |必選 |int |適用商品類型:1=全部商品;2=指定商品;3=指定商品不可用 | |use_goods_ids |必選 |array |使用商品ID, use_goods_type=2 / 3 時必填, 且數組不可為空 | **溫馨提示:** ``` 1、如果優惠券正在進行中, status=1時, 只能編輯 優惠券名稱 和 發放數量, 并且發放數量只能增加不能減少 2、如果優惠券不是進行中,那么優惠券是可以任意編輯的 status=2 3、已結束的優惠券不能編輯 status=3 ``` **請求示例:** ``` { "id": 1, "name": "滿100減10元", "money": 10, "condition_type": 2, "condition_money": 100, "send_total_type": 2, "send_total": 10, "use_time_type": 1, "use_time_start": "2021-07-21 00:00:00", "use_time_end": "2021-07-22 00:00:00", "use_time": 0, "get_type": 1, "get_num_type": 1, "get_num": 0, "use_goods_type": 2, "use_goods_ids": [1] } ``` **返回示例:** ``` // 成功返回 { "code": 1, "show": 0, "msg": "編輯成功", "data": [] } // 不成功返回 { "code": 0, "show": 1, "msg": "優惠券已結束,禁止編輯", "data": [] } ```
                  <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>

                              哎呀哎呀视频在线观看