[TOC]
## 可用電子券列表
~~~[api]
post:/orderelecoupon/couponlist
*int:ora_id=1 #訂單滿減ID
*int:page=1#頁碼
*int:limit=10#每頁顯示個數
<<<
success
{
"code": 0,
"info": "成功",
"data":[
{"id": 9, "type": 2, "title": "測試電子券測試電子券測試", "num": 20, "inventory": 0,…},
{"id": 8, "type": 2, "title": "測試電子券測試電子券測試", "num": 20, "inventory": 0,…},
{"id": 7, "type": 1, "title": "測試電子券測試電子券測試", "num": 20, "inventory": 0,…},
{"id": 6, "type": 1, "title": "測試電子券測試電子券測試", "num": 20, "inventory": 0,…},
{"id": 4, "type": 1, "title": "測試電子券測試電子券測試", "num": 20, "inventory": 0,…},
{"id": 3, "type": 1, "title": "修改title", "num": 20, "inventory": 0,…},
{"id": 2, "type": 1, "title": "22222222", "num": 20, "inventory": 0,…},
{"id": 1, "type": 2, "title": "測試電子券測試電子券測試", "num": 20, "inventory": 0,…}
]
}
<<<
error
~~~
## 列表
~~~[api]
post:/orderelecoupon/getlist
*int:ora_id=1 #訂單滿減ID
*int:page=1#頁碼
*int:limit=10#每頁顯示個數
<<<
success
{
"code": 0,
"info": "成功",
"data":[
{
"id": 2,
"ora_id": 1,
"coupon_id": 5,
"user_id": 1000,
"create_date": 1542870826,
"num": 5,
"coupon_title": "測試電子券測試電子券測試",
"type": 1,
"deduction": "10.00"
}
]
}
<<<
error
~~~
## 添加
~~~[api]
post:/orderelecoupon/add
*int:ora_id=1 #訂單滿減ID
*array:coupon_ids= array#電子券ID數組
<<<
success
{
"code": 0,
"info": "成功",
"data": true
}
<<<
error
~~~
## 刪除
~~~[api]
post:/orderelecoupon/del
*int:id=默認值1#ID
<<<
success
{
"code": 0,
"info": "成功",
"data": 1
}
<<<
error
~~~
- 全局說明
- 微信相關接口
- 首頁
- 系統消息
- 消息中心
- 基礎設置
- 門店管理
- 員工管理
- 職務管理
- 會員
- 標簽管理
- 會員管理
- 會員等級
- 會員等級權益
- 會員權益核銷
- 聊天記錄
- 會員等級電子券
- 商品
- 商品分類
- 商品品牌
- 商品管理
- 訂單
- 設置
- 生日提醒
- 積分規則
- 客服消息設置
- 群發消息
- 會員/售后待辦
- 關鍵字回復
- 自定義菜單
- 會員卡號規則設置
- 會員卡ID設置
- 客服經理
- 小算盤設置
- 個人中心
- 員工我的待辦列表
- 跟進
- 會員動態
- 會員積分/余額
- 訂單記錄列表
- 個人中心詳情頁面
- 會員待辦列表
- 會員電子券
- 客戶平臺
- 會員聊天
- 我的顧問
- 客戶訂單
- 客戶中心
- 客戶電子券
- 我的動態
- 會員積分/余額
- 統計
- 會員統計
- 會員發展統計
- 銷售統計
- 待辦統計
- 電子券統計
- 會員等級變更統計
- 積分統計
- 余額統計
- 電子券核銷統計
- 權限管理
- 員工權限
- 電子券
- 訂單滿額
- 訂單電子券
- 商品組電子券
- 群發電子券
- 一對一投放
- 商品組
- 商品組商品
- 會員分配
- PC版相關
- 導出相關
- 開通流程頁面
- 合作商家
- 商家相關
- 引流券相關
- 合作商家
- 領取功能
- 打印設置
- 小算盤
- e學堂
- 獲取Openid