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

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ## 1、獲取商家列表 ~~~ token字段說明md5(companyid + key + 日期) 32位小寫 companyid:公司編號 示例10000 key:秘鑰:createcarts123456 日期格式:年月日 示例 :20211216 token示例:md5(10000createcarts12345620211216) ~~~ ~~~[api] post: https://dc.bilalipay.com/createcarts/servers/api/getShop *int:companyid#商戶編號 *token#token校驗 <<< success { "code": 200, "msg": "success", "data": [ { "shopname": "66", "sid": "1", "create_time": "2021-12-09 15:35:36", "companyid": "10000", "describe": "11", "limitshopid": "", "price": "5.00", "unit": "瓶" }, { "shopname": "1", "sid": "2", "create_time": "2021-12-09 15:56:46", "companyid": "10000", "describe": "1", "limitshopid": "", "price": "1.00", "unit": "111" } ] } <<< error { "code": 300, "msg": "token校驗失敗" } ~~~ ## 返回字段描述 |code | 狀態 200 代表成功 | number | | --- | --- | --- | --- | |msg| 提示信息 | string | |data|[] | 數組,code為200時返回| |shopname| 商品名稱 | string | |sid| 商品編號 | number | |create_time| 創建時間 | string | |companyid| 商戶編號 | number | |describe | 商品描述 | string | |limitshopid | 受限門店 | string | |price | 價格 | number| |unit | 單位 | string| ## 2、創建卡券 ~~~[api] post: https://dc.bilalipay.com/createcarts/servers/api/sendCarts *int:companyid#商戶編號 *token#token校驗 *sid#商品編號 *orderid#單號 num#發券數量 <<< success { "code": 200, "msg": "卡券創建成功", "data": [ { "codes": "875585743749361321", "num": 1 } ] } <<< error { "code": 300, "msg": "token校驗失敗" } ~~~ ## 返回字段描述 |code | 狀態 200 代表成功 | number | | --- | --- | --- | --- | |msg| 提示信息 | string | |data|[] | 數組,code為200時返回| |codes|券碼 | string | |num| 數量序號 | number | ## 3、查詢卡券 ~~~[api] post: https://dc.bilalipay.com/createcarts/servers/api/querycarts *int:companyid#商戶編號 *token#token校驗 *codes#券碼 <<< success { "code": 200, "msg": "success", "data": [ { "id": "3", "sid": "1", "cartname": "66", "codes": "942592204219361482", "last_time": "0000-00-00 00:00:00" } ] } <<< error { "code": 300, "msg": "token校驗失敗" } ~~~ ## 返回字段描述 |code | 狀態 200 代表成功 | number | | --- | --- | --- | --- | |msg| 提示信息 | string | |data|[] | 數組,code為200時返回| |codes|券碼 | string | |id| 卡券序號 | number | |sid| 商品編號 | number | |cartname| 卡券名稱 | string| |last_time| 卡券有效期| string| ## 4、核銷卡券 ~~~[api] post: https://dc.bilalipay.com/createcarts/servers/api/destorycarts *int:companyid#商戶編號 *token#token校驗 *id#券編號多個用逗號隔開示例:4,5 <<< success { "code": 200, "msg": "核銷成功", "data": [ { "status": 2, "storename": "", "user": "", "update_time": "2021-12-14 17:42:26", "id": "4" }, { "status": 2, "storename": "", "user": "", "update_time": "2021-12-14 17:42:26", "id": "5" } ] } <<< error { "code": 300, "msg": "token校驗失敗" } ~~~ ## 返回字段描述 |code | 狀態 200 代表成功 | number | | --- | --- | --- | --- | |msg| 提示信息 | string | |data|[] | 數組,code為200時返回| |status|狀態2表示已核銷 | number | |storename| 核銷門店 | string | |user| 核銷人 | string | |update_time| 核銷時間 | string| |id| 卡券編號| number|
                  <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>

                              哎呀哎呀视频在线观看