Authored by pangjie

新增接口

... ... @@ -80,6 +80,117 @@
##优惠券详细信息接口
请求路径 coupon/getCouponDetailById
POST请求 JSON
请求参数
--------------------------------------------------
|编码|含义|必填|说明|
|--------|----|----|----|
|couponId|券ID|是|Integer类型|
--------------------------------------------------
请求示例:
{
"couponId":13054
}
响应:
{
"code": 200,
"data": {
"activityLimit": 0,
"brandLimit": "571,1209",
"brandsIdName": [
{
"id": "1209",
"text": "AAVA Lifestyle"
},
{
"id": "571",
"text": "A QUESTION OF"
}
],
"couponAmount": 12,
"couponCode": "",
"couponName": "JMtest222",
"couponNum": 12,
"couponType": 5,
"couponUseNum": 0,
"createTime": 1464244165,
"customType": "1,2,3,4",
"department": 11,
"endTime": 1464659100,
"explains": "12",
"getLimit": 1,
"id": 13054,
"invalidReason": "",
"isAll": "N",
"isNew": 1,
"isProductLimit": "N",
"options": [
1,
0,
2
],
"pid": 0,
"productLimit": "",
"proposer": "",
"rejectReason": "qawer",
"sortLimit": "1,11,13,3,28",
"sortList": [
[
{
"id": 1,
"sortName": "上衣"
},
{
"id": 11,
"sortName": "T恤"
}
],
[
{
"id": 1,
"sortName": "上衣"
},
{
"id": 13,
"sortName": "POLO"
}
],
[
{
"id": 3,
"sortName": "裤装"
},
{
"id": 28,
"sortName": "短裤"
}
]
],
"startTime": 1464659100,
"status": 0,
"useLimit": 121,
"useLimitType": 2,
"useNum": 12
},
"md5": "faab0af1c130fb181c68263bd904be8d",
"message": "操作成功"
}
说明: sortList 物理类目 brandsIdName:品牌ID及名称列表
## 驳回
... ...