[TOC]
## 電子券列表
~~~[api]
post:/client/couponlist
*int:state=0 #狀態,0-未使用,1已使用,2已過期
*int:page=1#頁碼
*int:limit=10#每頁顯示個數
<<<
success
{
"code": 0,
"info": "成功",
"data":[
{
"id": 3,
"member_id": 439,
"coupon_id": 1,
"start_date": "2018-11-01",
"end_date": "2019-01-01",
"create_date": 1543026701,
"use_date": 1111,
"give_date": 0,
"type": 2,
"use_id": 0,
"receive_id": 0,
"evaluation": "",
"score": 0,
"evaluation_time": 0,
"is_read": 0,
"coupon_title": "測試電子券測試電子券測試",
"deduction": "10.00",
"is_self": 0
},
{"id": 2, "member_id": 439, "coupon_id": 1, "start_date": "2018-11-02",…}
]
}
<<<
error
~~~
## 詳情
~~~[api]
post:/client/couponinfo
*int:id=1 #會員電子券ID
<<<
success
{
"code": 0,
"info": "成功",
"data":{
"id": 1,
"member_id": 439,
"coupon_id": 1,
"start_date": "2018-11-02",
"end_date": "2018-11-24",
"create_date": 1543026701,
"use_date": 0,
"give_date": "2018-11-24 10:31:41",
"type": 0,
"use_id": 439,
"give_id": 0,
"receive_id": 442,
"evaluation": "",
"score": 0,
"evaluation_time": 0,
"is_read": 1,
"come": 0,
"user_id": 0,
"order_id": 0,
"goods_id": 0,
"receive_member_info":{
"nickname": "黃明波",
"headimgurl": "http://thirdwx.qlogo.cn/mmopen/ajNVdqHZLLChaQIy7oIhickkOCPaSkujDXcWVnBjeqZNg23vR1l6wa1Ht94BzW627MpOTreXxgdeV0MW3zsHTGw/132"
},
"couponInfo":{
"title": "測試電子券測試電子券測試",
"type": 2,
"code": 0,
"use_week": "1,2,3",
"is_self": 0,
"is_giving": 1,
"rules": "我是使用規則"
}
}
}
<<<
error
~~~
## 自助核銷
~~~[api]
post:/client/auditcoupon
*int:mem_coupon_id=1 #會員電子券ID
*int:shop_id=1 #門店ID
<<<
success
{
"code": 0,
"info": "成功",
"data":{
"mem_coupon_id": "1",
"user_id": 0,
"create_date": 1543290243,
"coupon_id": 1,
"id": "2"
}
}
<<<
error
~~~
## 自助核銷詳情
~~~[api]
post:/client/auditcouponinfo
*int:id=1 #核銷ID
<<<
success
{
"code": 0,
"info": "成功",
"data":{
"id": 2,
"mem_coupon_id": 1,
"coupon_id": 1,
"create_date": "2018年11月27 11:44:03",
"shop_id": 0,
"user_id": 0,
"coupon_title": "測試電子券測試電子券測試",
"shop_name": ""
}
}
<<<
error
~~~
## 評價
~~~[api]
post:/client/evaluacoupon
*int:id=1 #會員電子券ID
*string:evaluation=內容 #評價內容
*int:score= 5 #評分
<<<
success
{
"code": 0,
"info": "成功",
"data":{
"id": "2",
"evaluation": "非常給力",
"score": "5",
"evaluation_time": 1543294087
}
}
<<<
error
~~~
## 贈送電子券
~~~[api]
post:/client/givecoupon
*int:id=1 #會員電子券ID
<<<
success
<<<
error
~~~
## 接收電子券
~~~[api]
post:/client/getcoupon
*int:id=1 #會員電子券ID
*int:code=1234 #驗證碼
<<<
success
<<<
error
~~~
## 可核銷電子券列表
~~~[api]
post:/client/getauditcoupon
<<<
success
<<<
error
~~~
## 通過門店核銷二維碼獲取門店ID
~~~[api]
post:/client/shopid
*string:audit_url=門店核銷url#門店核銷url
<<<
success
{
"code": 0,
"info": "成功",
"data": 1
}
<<<
error
~~~
- 全局說明
- 微信相關接口
- 首頁
- 系統消息
- 消息中心
- 基礎設置
- 門店管理
- 員工管理
- 職務管理
- 會員
- 標簽管理
- 會員管理
- 會員等級
- 會員等級權益
- 會員權益核銷
- 聊天記錄
- 會員等級電子券
- 商品
- 商品分類
- 商品品牌
- 商品管理
- 訂單
- 設置
- 生日提醒
- 積分規則
- 客服消息設置
- 群發消息
- 會員/售后待辦
- 關鍵字回復
- 自定義菜單
- 會員卡號規則設置
- 會員卡ID設置
- 客服經理
- 小算盤設置
- 個人中心
- 員工我的待辦列表
- 跟進
- 會員動態
- 會員積分/余額
- 訂單記錄列表
- 個人中心詳情頁面
- 會員待辦列表
- 會員電子券
- 客戶平臺
- 會員聊天
- 我的顧問
- 客戶訂單
- 客戶中心
- 客戶電子券
- 我的動態
- 會員積分/余額
- 統計
- 會員統計
- 會員發展統計
- 銷售統計
- 待辦統計
- 電子券統計
- 會員等級變更統計
- 積分統計
- 余額統計
- 電子券核銷統計
- 權限管理
- 員工權限
- 電子券
- 訂單滿額
- 訂單電子券
- 商品組電子券
- 群發電子券
- 一對一投放
- 商品組
- 商品組商品
- 會員分配
- PC版相關
- 導出相關
- 開通流程頁面
- 合作商家
- 商家相關
- 引流券相關
- 合作商家
- 領取功能
- 打印設置
- 小算盤
- e學堂
- 獲取Openid